mirror of
https://github.com/Mauler125/r5sdk.git
synced 2025-02-09 19:15:03 +01:00
15 lines
413 B
C++
15 lines
413 B
C++
#pragma once
|
|
|
|
unsigned long& FloatBits(float& f);
|
|
unsigned long const& FloatBits(float const& f);
|
|
float BitsToFloat(unsigned long i);
|
|
bool IsFinite(float f);
|
|
unsigned long FloatAbsBits(float f);
|
|
float FloatMakePositive(float f);
|
|
float FloatNegate(float f);
|
|
|
|
#define FLOAT32_NAN_BITS (std::uint32_t)0x7FC00000 // NaN!
|
|
#define FLOAT32_NAN BitsToFloat( FLOAT32_NAN_BITS )
|
|
|
|
#define VEC_T_NAN FLOAT32_NAN
|