Assimp v5.2.2 (January 2022)
The Asset-Importer-Lib API documentation.
|
Some utilities for our dealings with qnans. More...
Classes | |
union | _IEEEDouble |
Data structure to represent the bit pattern of a 64 Bit IEEE 754 floating-point number. More... | |
union | _IEEESingle |
Data structure to represent the bit pattern of a 32 Bit IEEE 754 floating-point number. More... | |
Macros | |
#define | AI_QNAN_H_INCLUDED |
Functions | |
AI_FORCE_INLINE ai_real | get_qnan () |
Get a fresh qnan. More... | |
template<class TReal > | |
AI_FORCE_INLINE bool | is_not_qnan (TReal in) |
Check whether a float is NOT qNaN. More... | |
AI_FORCE_INLINE bool | is_qnan (double in) |
Check whether a given double is qNaN. More... | |
AI_FORCE_INLINE bool | is_qnan (float in) |
Check whether a given float is qNaN. More... | |
AI_FORCE_INLINE bool | is_special_float (double in) |
check whether a double is either NaN or (+/-) INF. More... | |
AI_FORCE_INLINE bool | is_special_float (float in) |
check whether a float is either NaN or (+/-) INF. More... | |
Some utilities for our dealings with qnans.
#define AI_QNAN_H_INCLUDED |
AI_FORCE_INLINE ai_real get_qnan | ( | ) |
Get a fresh qnan.
AI_FORCE_INLINE bool is_not_qnan | ( | TReal | in | ) |
Check whether a float is NOT qNaN.
in | Input value |
AI_FORCE_INLINE bool is_qnan | ( | double | in | ) |
Check whether a given double is qNaN.
in | Input value |
AI_FORCE_INLINE bool is_qnan | ( | float | in | ) |
Check whether a given float is qNaN.
in | Input value |
AI_FORCE_INLINE bool is_special_float | ( | double | in | ) |
check whether a double is either NaN or (+/-) INF.
Denorms return false, they're treated like normal values.
in | Input value |
AI_FORCE_INLINE bool is_special_float | ( | float | in | ) |
check whether a float is either NaN or (+/-) INF.
Denorms return false, they're treated like normal values.
in | Input value |