[#absl-HighPrecision-0b7] = xref:absl.adoc[absl]::HighPrecision :relfileprefix: ../ :mrdocs: 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). == Synopsis Declared in `<absl/strings/str_cat.h>` [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- /* implementation-defined */ HighPrecision(double d); ---- == Description Tries to keep the string short but it's not guaranteed to be as short as possible. `HighPrecision` is considerably slower than the default formatting, so only use it if you need the string to convert back to the same floating‐point value. == Return Value A buffer holding the round‐trippable string representation. == Parameters [cols="1,4"] |=== | Name| Description | *d* | The floating point value to convert. |=== [.small]#Created with https://www.mrdocs.com[MrDocs]#