xref: /reactos/sdk/lib/crt/math/sinf.c (revision c2c66aff)
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 #define sinf _dummy_sinf
7 #include <math.h>
8 #undef sinf
9 
10 #if defined(_MSC_VER) && (defined(_M_ARM) || defined(_M_AMD64))
11 #pragma warning(suppress:4164) /* intrinsic not declared */
12 #pragma function(sinf)
13 #endif /* _MSC_VER */
14 
15 float sinf(float x)
16 {
17     return ((float)sin((double)x));
18 }
19