[#EncodeDouble]
= EncodeDouble
:mrdocs:

Encode a double using the IEEE 754 binary64 format&period;

== Synopsis

Declared in `&lt;util&sol;serfloat&period;h&gt;`

[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
uint64&lowbar;t
EncodeDouble(double f) noexcept;
----

== Description

All NaNs are encoded as x86&sol;ARM&apos;s positive quiet NaN with payload 0&period;

== Return Value

The 64&hyphen;bit representation of `f` in IEEE 754 binary64 format&period;

== Parameters

[cols="1,4"]
|===
| Name| Description
| *f*
| The double&hyphen;precision value to encode&period;
|===


[.small]#Created with https://www.mrdocs.com[MrDocs]#
