4 * Derived from the mingw header written by Colin Peters.
5 * Modified for Wine use by Hans Leidekker.
6 * This file is in the public domain.
20 #define _DOMAIN 1 /* domain error in argument */
21 #define _SING 2 /* singularity */
22 #define _OVERFLOW 3 /* range overflow */
23 #define _UNDERFLOW 4 /* range underflow */
24 #define _TLOSS 5 /* total loss of precision */
25 #define _PLOSS 6 /* partial loss of precision */
27 #ifndef _EXCEPTION_DEFINED
28 #define _EXCEPTION_DEFINED
37 #endif /* _EXCEPTION_DEFINED */
39 #ifndef _COMPLEX_DEFINED
40 #define _COMPLEX_DEFINED
43 double x
; /* Real part */
44 double y
; /* Imaginary part */
46 #endif /* _COMPLEX_DEFINED */
48 double __cdecl
sin(double);
49 double __cdecl
cos(double);
50 double __cdecl
tan(double);
51 double __cdecl
sinh(double);
52 double __cdecl
cosh(double);
53 double __cdecl
tanh(double);
54 double __cdecl
asin(double);
55 double __cdecl
acos(double);
56 double __cdecl
atan(double);
57 double __cdecl
atan2(double, double);
58 double __cdecl
exp(double);
59 double __cdecl
log(double);
60 double __cdecl
log10(double);
61 double __cdecl
pow(double, double);
62 double __cdecl
sqrt(double);
63 double __cdecl
ceil(double);
64 double __cdecl
floor(double);
65 double __cdecl
fabs(double);
66 double __cdecl
ldexp(double, int);
67 double __cdecl
frexp(double, int*);
68 double __cdecl
modf(double, double*);
69 double __cdecl
fmod(double, double);
71 double __cdecl
hypot(double, double);
72 double __cdecl
j0(double);
73 double __cdecl
j1(double);
74 double __cdecl
jn(int, double);
75 double __cdecl
y0(double);
76 double __cdecl
y1(double);
77 double __cdecl
yn(int, double);
79 int __cdecl
_matherr(struct _exception
*);
80 double __cdecl
_cabs(struct _complex
);
83 # if defined(__GNUC__) && (__GNUC__ >= 3)
84 # define HUGE_VAL (__extension__ 0x1.0p2047)
89 } __huge_val
= { { 0, 0, 0, 0, 0, 0, 0xf0, 0x7f } };
90 # define HUGE_VAL (__huge_val.__d)
100 #endif /* __WINE_MATH_H */