xref: /reactos/sdk/lib/crt/math/powf.c (revision 40462c92)
1 /**
2  * This file has no copyright assigned and is placed in the Public Domain.
3  * This file is part of the w64 mingw-runtime package.
4  * No warranty is given; refer to the file DISCLAIMER.PD within this package.
5  */
6 
7 #if defined(_MSC_VER) && (defined(_M_ARM) || defined(_M_AMD64))
8 #pragma warning(suppress:4164) /* intrinsic not declared */
9 #pragma function(powf)
10 #endif /* _MSC_VER */
11 
12 double __cdecl pow(double x, double y);
13 
14 float powf(float x, float y)
15 {
16     return (float)pow((double)x, (double)y);
17 }
18