diff options
author | Brian Paul <[email protected]> | 2015-02-24 08:57:17 -0700 |
---|---|---|
committer | Brian Paul <[email protected]> | 2015-02-24 14:44:19 -0700 |
commit | e25f7772cacef8673318a7bfb33b151c5bc5d94c (patch) | |
tree | 468fa89973099522ae546d6aab626c92de495744 /src/mesa/math/m_debug_util.h | |
parent | e6eddbb96a9a690a865df8b0b9cfa2f644824b51 (diff) |
mesa: replace FREXPF, LDEXPF with frexpf, ldexpf
Start getting rid of some imports.h macros. Use the c99 functions instead.
Reviewed-by: Matt Turner <[email protected]>
Diffstat (limited to 'src/mesa/math/m_debug_util.h')
-rw-r--r-- | src/mesa/math/m_debug_util.h | 9 |
1 files changed, 6 insertions, 3 deletions
diff --git a/src/mesa/math/m_debug_util.h b/src/mesa/math/m_debug_util.h index d05da89949c..25ee029cebc 100644 --- a/src/mesa/math/m_debug_util.h +++ b/src/mesa/math/m_debug_util.h @@ -32,6 +32,9 @@ #ifdef DEBUG_MATH /* This code only used for debugging */ +#include "c99_math.h" + + /* Comment this out to deactivate the cycle counter. * NOTE: it works only on CPUs which know the 'rdtsc' command (586 or higher) * (hope, you don't try to debug Mesa on a 386 ;) @@ -286,9 +289,9 @@ static int significand_match( GLfloat a, GLfloat b ) return 0; } - FREXPF( a, &a_ex ); - FREXPF( b, &b_ex ); - FREXPF( d, &d_ex ); + frexpf( a, &a_ex ); + frexpf( b, &b_ex ); + frexpf( d, &d_ex ); if ( a_ex < b_ex ) { return a_ex - d_ex; |