Vegastrike 0.5.1 rc1
1.0
Original sources for Vegastrike Evolved
|
Go to the source code of this file.
Macros | |
#define | BITMASK(bits) ( (1<<bits)-1 ) |
#define | SIGN_MASK 0x80000000 |
#define | EXP_MASK 0x7f800000 |
#define | SIGNIF_MASK 0x007fffff |
#define | EXP_BITS 8 |
#define | SIGNIF_BITS 23 |
Functions | |
unsigned int | float_to_uint32 (float value, char exponent, char significand, char denorm) |
float | uint32_to_float (unsigned int value, char exponent, char significand, char denorm) |
Definition at line 22 of file mangle.h.
Referenced by float_to_uint32(), and uint32_to_float().
#define EXP_BITS 8 |
Definition at line 26 of file mangle.h.
Referenced by float_to_uint32().
#define EXP_MASK 0x7f800000 |
Definition at line 24 of file mangle.h.
Referenced by float_to_uint32().
#define SIGN_MASK 0x80000000 |
Definition at line 23 of file mangle.h.
Referenced by float_to_uint32().
#define SIGNIF_BITS 23 |
Definition at line 27 of file mangle.h.
Referenced by float_to_uint32(), and uint32_to_float().
#define SIGNIF_MASK 0x007fffff |
Definition at line 25 of file mangle.h.
Referenced by float_to_uint32().
Definition at line 54 of file mangle.cpp.
References BITMASK, EXP_BITS, EXP_MASK, type_conv::fl_val, SIGN_MASK, SIGNIF_BITS, SIGNIF_MASK, and type_conv::u32_val.
Definition at line 110 of file mangle.cpp.
References BITMASK, type_conv::fl_val, SIGNIF_BITS, and type_conv::u32_val.