Pyrogenesis HEAD
Pyrogenesis, a RTS Engine
|
Functions | |
static u32 | get_float_bits (const float x) |
int | floor_log2 (const float x) |
floor(log2(f)) fast, uses the FPU normalization hardware. More... | |
int floor_log2 | ( | const float | x | ) |
floor(log2(f)) fast, uses the FPU normalization hardware.
x | (float) input; MUST be > 0, else results are undefined. |
|
inlinestatic |