mirror of
https://github.com/reactos/reactos.git
synced 2024-12-28 01:55:19 +00:00
16 lines
406 B
C
16 lines
406 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.
|
|
*/
|
|
|
|
#include <math.h>
|
|
|
|
#if defined(_MSC_VER) && (defined(_M_ARM) || defined(_M_AMD64))
|
|
#pragma function(cosf)
|
|
#endif /* _MSC_VER */
|
|
|
|
float cosf(float x)
|
|
{
|
|
return ((float)cos((double)x));
|
|
}
|