mesa: replace LOGF, EXPF with logf, expf
Reviewed-by: Matt Turner <mattst88@gmail.com>
This commit is contained in:
@@ -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 */
|
||||
|
Reference in New Issue
Block a user