Decode a double from its IEEE 754 binary64 representation.

Synopsis

Declared in <util/serfloat.h>

double
DecodeDouble(uint64_t v) noexcept;

Description

Reverse operation of EncodeDouble: DecodeDouble(EncodeDouble(f)) == f unless isnan(f).

Return Value

The double‐precision value represented by v.

Parameters

Name

Description

v

The 64‐bit binary64 encoding to decode.

Created with MrDocs