|
rapidyaml
0.12.1
parse and emit YAML, and do it fast
|
Functions | |
| size_t | c4::ftoa (substr str, float v, int precision=-1, RealFormat_e formatting=FTOA_FLEX) noexcept |
| Convert a single-precision real number to string. More... | |
|
inlinenoexcept |
Convert a single-precision real number to string.
The string will in general be NOT null-terminated. For FTOA_FLEX, precision is the number of significand digits. Otherwise precision is the number of decimals. It is safe to call this function with an empty or too-small buffer.
Definition at line 2060 of file charconv.hpp.