dconv 2.0
C++14 library for printing and parsing floating point numbers
Loading...
Searching...
No Matches
dconv::grisu::details Namespace Reference

Functions

char * dtoa (char *buffer, double value, void(*generate)(char *, int &, int &, double) noexcept) noexcept
 double to string conversion with the given digits generator.
 

Function Documentation

◆ dtoa()

char * dconv::grisu::details::dtoa ( char * buffer,
double value,
void(* generate )(char *, int &, int &, double) noexcept )
inlinenoexcept

double to string conversion with the given digits generator.

Parameters
bufferbuffer to write the string representation to.
valuevalue to convert.
generatedigits generator.
Returns
end position.