Bitcoin Core  21.99.0
P2P Digital Currency
Functions
serfloat.cpp File Reference
#include <util/serfloat.h>
#include <cmath>
#include <limits>
Include dependency graph for serfloat.cpp:

Go to the source code of this file.

Functions

double DecodeDouble (uint64_t v) noexcept
 
uint64_t EncodeDouble (double f) noexcept
 

Function Documentation

◆ DecodeDouble()

double DecodeDouble ( uint64_t  v)
noexcept

Definition at line 10 of file serfloat.cpp.

◆ EncodeDouble()

uint64_t EncodeDouble ( double  f)
noexcept

Definition at line 37 of file serfloat.cpp.