2010-07-26 01:10:20 +00:00
|
|
|
/**
|
|
|
|
* 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.
|
|
|
|
*/
|
2011-02-10 11:35:05 +00:00
|
|
|
#define logf _dummy_logf
|
2010-07-26 01:10:20 +00:00
|
|
|
#include <math.h>
|
2011-02-10 11:35:05 +00:00
|
|
|
#undef logf
|
2010-07-26 01:10:20 +00:00
|
|
|
|
2015-05-14 20:20:59 +00:00
|
|
|
#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)
|
2010-07-26 01:10:20 +00:00
|
|
|
{
|
2015-05-14 20:20:59 +00:00
|
|
|
return ((float)log((double)x));
|
2010-07-26 01:10:20 +00:00
|
|
|
}
|