mirror of
https://github.com/reactos/reactos.git
synced 2024-11-04 13:52:30 +00:00
18 lines
502 B
C
18 lines
502 B
C
/**
|
|
* This file has no copyright assigned and is placed in the Public Domain.
|
|
* This file is part of the w64 mingw-runtime package.
|
|
* No warranty is given; refer to the file DISCLAIMER.PD within this package.
|
|
*/
|
|
#define logf _dummy_logf
|
|
#include <math.h>
|
|
#undef logf
|
|
|
|
#if defined(_MSC_VER) && (defined(_M_ARM) || defined(_M_AMD64))
|
|
#pragma warning(suppress:4164) /* intrinsic not declared */
|
|
#pragma function(logf)
|
|
#endif /* _MSC_VER */
|
|
|
|
float logf(float x)
|
|
{
|
|
return ((float)log((double)x));
|
|
}
|