xref: /reactos/sdk/lib/crt/math/sinf.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 
7 #include <math.h>
8 
9 #if defined(_MSC_VER) && (defined(_M_ARM) || defined(_M_AMD64))
10 #pragma function(sinf)
11 #endif /* _MSC_VER */
12 
13 float sinf(float x)
14 {
15     return ((float)sin((double)x));
16 }
17