HighPrecision overloads
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);
» more...
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);
» more...
A buffer holding the round-trippable string representation.
| Name | Description |
|---|---|
| d | The floating point value to convert. |
| f | The floating point value to convert. |