|
dconv 2.0
C++14 library for printing and parsing floating point numbers
|


Go to the source code of this file.
Namespaces | |
| namespace | dconv |
| namespace | dconv::grisu2 |
Functions | |
| void | dconv::grisu2::scaledBoundaries (double value, DiyFp &w, DiyFp &minus, DiyFp &plus, int &k) noexcept |
| compute the scaled value and its scaled boundaries. | |
| void | dconv::grisu2::round (char *buffer, int length, uint64_t delta, uint64_t rest, uint64_t tenKappa, uint64_t wpW) noexcept |
| move the last digit closer to the value while it stays within the boundaries. | |
| void | dconv::grisu2::digitsGen (const DiyFp &w, const DiyFp &high, uint64_t delta, char *buffer, int &length, int &k) noexcept |
| generate the shortest digits within the conservative boundaries. | |
| void | dconv::grisu2::generate (char *buffer, int &length, int &k, double value) noexcept |
| write the shortest decimal digits within the conservative boundaries. | |
| char * | dconv::grisu2::dtoa (char *buffer, double value) noexcept |
| double to string conversion using Grisu2. | |