2
0
Branimir Karadžić 7 жил өмнө
parent
commit
f3bda773b0

+ 1 - 1
include/bx/math.h

@@ -183,7 +183,7 @@ namespace bx
 	/// Returns decomposed given floating point value _a into a normalized fraction and
 	/// Returns decomposed given floating point value _a into a normalized fraction and
 	/// an integral power of two.
 	/// an integral power of two.
 	///
 	///
-	BX_CONST_FUNC float frexp(float _a, int32_t* _outExp);
+	float frexp(float _a, int32_t* _outExp);
 
 
 	/// Returns e (2.71828...) raised to the _a power.
 	/// Returns e (2.71828...) raised to the _a power.
 	///
 	///

+ 1 - 1
src/math.cpp

@@ -153,7 +153,7 @@ namespace bx
 		return result;
 		return result;
 	}
 	}
 
 
-	BX_CONST_FUNC float frexp(float _a, int32_t* _outExp)
+	float frexp(float _a, int32_t* _outExp)
 	{
 	{
 		const uint32_t ftob     = floatToBits(_a);
 		const uint32_t ftob     = floatToBits(_a);
 		const uint32_t masked0  = uint32_and(ftob, UINT32_C(0x7f800000) );
 		const uint32_t masked0  = uint32_and(ftob, UINT32_C(0x7f800000) );