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 */
| 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 cosf _dummy_cosf
| 6
|
7#include <math.h>
| 7#include <math.h>
|
8#undef cosf
| |
9 10#if defined(_MSC_VER) && (defined(_M_ARM) || defined(_M_AMD64))
| 8 9#if defined(_MSC_VER) && (defined(_M_ARM) || defined(_M_AMD64))
|
11#pragma warning(suppress:4164) /* intrinsic not declared */
| |
12#pragma function(cosf) 13#endif /* _MSC_VER */ 14 15float cosf(float x) 16{ 17 return ((float)cos((double)x)); 18}
| 10#pragma function(cosf) 11#endif /* _MSC_VER */ 12 13float cosf(float x) 14{ 15 return ((float)cos((double)x)); 16}
|