float.h
154 EXTERNAL int fiftyoneDegreesFloatIsEqual(fiftyoneDegreesFloatInternal f1, fiftyoneDegreesFloatInternal f2);
161 #if _MSC_VER || (FLT_RADIX == 2 && FLT_MANT_DIG == 24 && FLT_MAX_EXP == 128 && FLT_MIN_EXP == -125)
fiftyoneDegreesFloatInternal fiftyoneDegreesNativeToFloat(float f)
Function that converts from a native float value to 51Degrees float value.
#define FIFTYONE_DEGREES_FLOAT_SIGN_SIZE
IEEE single precision floating point number of bits for sgn.
Definition: float.h:80
#define FIFTYONE_DEGREES_FLOAT_MANT_SIZE
IEEE single precision floating point number of bits for mantissa.
Definition: float.h:88
fiftyoneDegreesFloatInternal fiftyoneDegreesFloat
For some compilers such as clang and Microsoft C or computers where the IEEE single precision standar...
Definition: float.h:193
#define FIFTYONE_DEGREES_FLOAT_EXP_SIZE
IEEE single precision floating point number of bits for exponent.
Definition: float.h:84
Struture that represents 51Degrees implementation, which encapsulate an array of 4 bytes.
Definition: float.h:117
float fiftyoneDegreesFloatToNative(fiftyoneDegreesFloatInternal f)
Function that converts from a 51Degrees float implementation to a native float value.
Union that breaks down 51Degrees implementation to its components: sign, exponent and mantissa.
Definition: float.h:125
#define FIFTYONE_DEGREES_FLOAT_SIZE
IEEE single precision floating point number of bytes.
Definition: float.h:72
int fiftyoneDegreesFloatIsEqual(fiftyoneDegreesFloatInternal f1, fiftyoneDegreesFloatInternal f2)
Function that compare if two 51Degrees float values are equal.