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.
11 #ifndef __WINE_USE_MSVCRT
12 #define __WINE_USE_MSVCRT
21 #define _DOMAIN 1 /* domain error in argument */
22 #define _SING 2 /* singularity */
23 #define _OVERFLOW 3 /* range overflow */
24 #define _UNDERFLOW 4 /* range underflow */
25 #define _TLOSS 5 /* total loss of precision */
26 #define _PLOSS 6 /* partial loss of precision */
28 #ifndef _EXCEPTION_DEFINED
29 #define _EXCEPTION_DEFINED
38 #endif /* _EXCEPTION_DEFINED */
40 #ifndef _COMPLEX_DEFINED
41 #define _COMPLEX_DEFINED
44 double x
; /* Real part */
45 double y
; /* Imaginary part */
47 #endif /* _COMPLEX_DEFINED */
58 double atan2(double, double);
62 double pow(double, double);
67 double ldexp(double, int);
68 double frexp(double, int*);
69 double modf(double, double*);
70 double fmod(double, double);
72 double hypot(double, double);
75 double jn(int, double);
78 double yn(int, double);
80 int _matherr(struct _exception
*);
81 double _cabs(struct _complex
);
84 # if defined(__GNUC__) && (__GNUC__ >= 3)
85 # define HUGE_VAL (__extension__ 0x1.0p2047)
90 } __huge_val
= { { 0, 0, 0, 0, 0, 0, 0xf0, 0x7f } };
91 # define HUGE_VAL (__huge_val.__d)
101 #endif /* __WINE_MATH_H */