mesa: replace LOGF, EXPF with logf, expf

Reviewed-by: Matt Turner <mattst88@gmail.com>
This commit is contained in:
Brian Paul
2015-02-24 09:01:51 -07:00
parent e25f7772ca
commit 79b480ccc0
5 changed files with 18 additions and 12 deletions

View File

@@ -92,6 +92,16 @@ static inline float ldexpf(float x, int exp)
return (float) ldexp(x, exp);
}
static inline float logf(float x)
{
return (float) log(x);
}
static inline float expf(float x)
{
return (float) exp(x);
}
#else
/* Work-around an extra semi-colon in VS 2005 logf definition */