mirror of
https://github.com/reactos/reactos.git
synced 2024-08-25 04:38:43 +00:00
14 lines
199 B
C
14 lines
199 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 TWO = 2.0f;
|
||
|
return powf(TWO, x);
|
||
|
}
|