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