mirror of
https://github.com/reactos/reactos.git
synced 2024-09-05 18:26:53 +00:00
14 lines
198 B
C
14 lines
198 B
C
|
|
||
|
#include <math.h>
|
||
|
|
||
|
_Check_return_
|
||
|
double
|
||
|
__cdecl
|
||
|
exp2(
|
||
|
_In_ double x)
|
||
|
{
|
||
|
/* This below avoids clang to optimize our pow call to exp2 */
|
||
|
static const TWO = 2.0;
|
||
|
return pow(TWO, x);
|
||
|
}
|