Luanti 5.11.0-dev
 
Loading...
Searching...
No Matches
ieee_float.cpp File Reference
#include "ieee_float.h"
#include "log.h"
#include "porting.h"
#include <limits>
#include <cmath>
#include <cstring>
+ Include dependency graph for ieee_float.cpp:

Functions

f32 u32Tof32Slow (u32 i)
 
u32 f32Tou32Slow (f32 f)
 
FloatType getFloatSerializationType ()
 

Function Documentation

◆ f32Tou32Slow()

u32 f32Tou32Slow ( f32 f)

Referenced by getFloatSerializationType(), TestSerialization::testFloatFormat(), and writeF32().

+ Here is the caller graph for this function:

◆ getFloatSerializationType()

FloatType getFloatSerializationType ( )

References f32Tou32Slow(), FLOATTYPE_SLOW, FLOATTYPE_SYSTEM, infostream, porting::mt_snprintf(), u32Tof32Slow(), and warningstream.

Referenced by readF32(), TestSerialization::testFloatFormat(), and writeF32().

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ u32Tof32Slow()

f32 u32Tof32Slow ( u32 i)

Referenced by getFloatSerializationType(), readF32(), and TestSerialization::testFloatFormat().

+ Here is the caller graph for this function: