mesa: replace FREXPF, LDEXPF with frexpf, ldexpf

Start getting rid of some imports.h macros.  Use the c99 functions instead.

Reviewed-by: Matt Turner <mattst88@gmail.com>
This commit is contained in:
Brian Paul
2015-02-24 08:57:17 -07:00
parent e6eddbb96a
commit e25f7772ca
4 changed files with 20 additions and 11 deletions

View File

@@ -82,6 +82,17 @@ static inline float logf( float f )
return (float) log( (double) f );
}
static inline float frexpf(float x, int *exp)
{
return (float) frexp(x, exp);
}
static inline float ldexpf(float x, int exp)
{
return (float) ldexp(x, exp);
}
#else
/* Work-around an extra semi-colon in VS 2005 logf definition */
#ifdef logf