mirror of
https://github.com/bkaradzic/bx.git
synced 2026-02-17 20:52:37 +01:00
Cleanup.
This commit is contained in:
@@ -183,7 +183,7 @@ namespace bx
|
||||
/// Returns decomposed given floating point value _a into a normalized fraction and
|
||||
/// 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.
|
||||
///
|
||||
|
||||
@@ -153,7 +153,7 @@ namespace bx
|
||||
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 masked0 = uint32_and(ftob, UINT32_C(0x7f800000) );
|
||||
|
||||
Reference in New Issue
Block a user