|
@@ -68,19 +68,19 @@ namespace bx
|
|
|
|
|
|
|
|
/// Reinterprets the bit pattern of _a as uint32_t.
|
|
/// Reinterprets the bit pattern of _a as uint32_t.
|
|
|
///
|
|
///
|
|
|
- constexpr BX_CONST_FUNC uint32_t floatToBits(float _a);
|
|
|
|
|
|
|
+ BX_CONST_FUNC uint32_t floatToBits(float _a);
|
|
|
|
|
|
|
|
/// Reinterprets the bit pattern of _a as float.
|
|
/// Reinterprets the bit pattern of _a as float.
|
|
|
///
|
|
///
|
|
|
- constexpr BX_CONST_FUNC float bitsToFloat(uint32_t _a);
|
|
|
|
|
|
|
+ BX_CONST_FUNC float bitsToFloat(uint32_t _a);
|
|
|
|
|
|
|
|
/// Reinterprets the bit pattern of _a as uint64_t.
|
|
/// Reinterprets the bit pattern of _a as uint64_t.
|
|
|
///
|
|
///
|
|
|
- constexpr BX_CONST_FUNC uint64_t doubleToBits(double _a);
|
|
|
|
|
|
|
+ BX_CONST_FUNC uint64_t doubleToBits(double _a);
|
|
|
|
|
|
|
|
/// Reinterprets the bit pattern of _a as double.
|
|
/// Reinterprets the bit pattern of _a as double.
|
|
|
///
|
|
///
|
|
|
- constexpr BX_CONST_FUNC double bitsToDouble(uint64_t _a);
|
|
|
|
|
|
|
+ BX_CONST_FUNC double bitsToDouble(uint64_t _a);
|
|
|
|
|
|
|
|
/// Returns sortable floating point value.
|
|
/// Returns sortable floating point value.
|
|
|
///
|
|
///
|