xref: /reactos/sdk/lib/crt/math/sqrtf.c (revision 9393fc32)
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 #include <math.h>
7 
8 #ifdef _MSC_VER
9 #pragma function(sqrtf)
10 #endif
11 
12 _Check_return_
13 float
14 __cdecl
15 sqrtf(float x)
16 {
17    return (float)sqrt((double)x);
18 }
19