c99_math: Implement exp2f for MSVC.
Reviewed-by: Jose Fonseca <jfonseca@vmware.com>
This commit is contained in:
parent
5c7fd67045
commit
ecc559218d
|
@ -140,6 +140,12 @@ llrintf(float f)
|
|||
return rounded;
|
||||
}
|
||||
|
||||
static inline float
|
||||
exp2f(float f)
|
||||
{
|
||||
return powf(2.0f, f);
|
||||
}
|
||||
|
||||
#endif /* C99 */
|
||||
|
||||
|
||||
|
|
Loading…
Reference in New Issue