source: Daodan/MSYS2/mingw32/i686-w64-mingw32/include/ymath.h

Last change on this file was 1166, checked in by rossy, 3 years ago

Daodan: Replace MinGW build env with an up-to-date MSYS2 env

File size: 1.4 KB
RevLine 
[1166]1/**
2 * This file has no copyright assigned and is placed in the Public Domain.
3 * This file is part of the mingw-w64 runtime package.
4 * No warranty is given; refer to the file DISCLAIMER.PD within this package.
5 */
6#ifndef _YMATH
7#define _YMATH
8#include <yvals.h>
9_C_STD_BEGIN
10_C_LIB_DECL
11
12#pragma pack(push,_CRT_PACKING)
13
14#define _DENORM (-2)
15#define _FINITE (-1)
16#define _INFCODE 1
17#define _NANCODE 2
18
19#define _FE_DIVBYZERO 0x04
20#define _FE_INEXACT 0x20
21#define _FE_INVALID 0x01
22#define _FE_OVERFLOW 0x08
23#define _FE_UNDERFLOW 0x10
24
25typedef union {
26 unsigned short _Word[8];
27 float _Float;
28 double _Double;
29 long double _Long_double;
30} _Dconst;
31
32void __cdecl _Feraise(int);
33_CRTIMP double __cdecl _Cosh(double,double);
34_CRTIMP short __cdecl _Dtest(double *);
35_CRTIMP short __cdecl _Exp(double *,double,short);
36_CRTIMP double __cdecl _Sinh(double,double);
37extern _CRTIMP _Dconst _Denorm,_Hugeval,_Inf,_Nan,_Snan;
38_CRTIMP float __cdecl _FCosh(float,float);
39_CRTIMP short __cdecl _FDtest(float *);
40_CRTIMP short __cdecl _FExp(float *,float,short);
41_CRTIMP float __cdecl _FSinh(float,float);
42extern _CRTIMP _Dconst _FDenorm,_FInf,_FNan,_FSnan;
43_CRTIMP long double __cdecl _LCosh(long double,long double);
44_CRTIMP short __cdecl _LDtest(long double *);
45_CRTIMP short __cdecl _LExp(long double *,long double,short);
46_CRTIMP long double __cdecl _LSinh(long double,long double);
47extern _CRTIMP _Dconst _LDenorm,_LInf,_LNan,_LSnan;
48_END_C_LIB_DECL
49_C_STD_END
50
51#pragma pack(pop)
52#endif
Note: See TracBrowser for help on using the repository browser.