[#EncodeDouble] = EncodeDouble :mrdocs: Encode a double using the IEEE 754 binary64 format. == Synopsis Declared in `<util/serfloat.h>` [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- uint64_t EncodeDouble(double f) noexcept; ---- == Description All NaNs are encoded as x86/ARM's positive quiet NaN with payload 0. == Return Value The 64‐bit representation of `f` in IEEE 754 binary64 format. == Parameters [cols="1,4"] |=== | Name| Description | *f* | The double‐precision value to encode. |=== [.small]#Created with https://www.mrdocs.com[MrDocs]#