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 */
57 double atan2(double, double);
61 double pow(double, double);
66 double ldexp(double, int);
67 double frexp(double, int*);
68 double modf(double, double*);
69 double fmod(double, double);
71 double hypot(double, double);
74 double jn(int, double);
77 double yn(int, double);
79 int _matherr(struct _exception
*);
80 double _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 */