1
0
Fork 0
mirror of https://github.com/reactos/reactos.git synced 2025-05-11 13:27:47 +00:00
reactos/sdk/lib/crt/math/exp2f.c
2021-04-27 10:36:54 +03:00

13 lines
205 B
C

#include <math.h>
_Check_return_
float
__cdecl
exp2f(
_In_ float x)
{
/* This below avoids clang to optimize our pow call to exp2 */
static const float TWO = 2.0f;
return powf(TWO, x);
}