xref: /reactos/sdk/lib/crt/math/exp2f.c (revision 84344399)
1 
2 #include <math.h>
3 
4 _Check_return_
5 float
6 __cdecl
7 exp2f(
8     _In_ float x)
9 {
10     /* This below avoids clang to optimize our pow call to exp2 */
11     static const float TWO = 2.0f;
12     return powf(TWO, x);
13 }
14