Encode a double using the IEEE 754 binary64 format.
Declared in <util/serfloat.h>
uint64_t
EncodeDouble(double f) noexcept;
All NaNs are encoded as x86/ARM's positive quiet NaN with payload 0.
The 64-bit representation of f in IEEE 754 binary64 format.
| Name | Description |
|---|---|
| f | The double-precision value to encode. |