c99_math: Implement exp2f for MSVC.

Reviewed-by: Jose Fonseca <jfonseca@vmware.com>
This commit is contained in:
Matt Turner 2015-07-15 21:28:56 -07:00
parent 5c7fd67045
commit ecc559218d
1 changed files with 6 additions and 0 deletions

View File

@ -140,6 +140,12 @@ llrintf(float f)
return rounded;
}
static inline float
exp2f(float f)
{
return powf(2.0f, f);
}
#endif /* C99 */