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