HighPrecision overloads
Synopses
Declared in <absl/strings/str_cat.h>
Converts a double to a string which, if passed to absl::SimpleAtod, would produce the exact same original floating point value (except in case of NaN; all NaNs are considered the same value).
/* implementation-defined */
HighPrecision(double d);
Converts a float to a string which, if passed to absl::SimpleAtof, would produce the exact same original floating point value (except in case of NaN; all NaNs are considered the same value).
/* implementation-defined */
HighPrecision(float f);
Return Value
A buffer holding the round‐trippable string representation.
Parameters
Name |
Description |
d |
The floating point value to convert. |
f |
The floating point value to convert. |
Created with MrDocs