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
16 # ifdef USE_MSVCRT_PREFIX
17 # define MSVCRT(x) MSVCRT_##x
27 #define _DOMAIN 1 /* domain error in argument */
28 #define _SING 2 /* singularity */
29 #define _OVERFLOW 3 /* range overflow */
30 #define _UNDERFLOW 4 /* range underflow */
31 #define _TLOSS 5 /* total loss of precision */
32 #define _PLOSS 6 /* partial loss of precision */
34 #ifndef MSVCRT_EXCEPTION_DEFINED
35 #define MSVCRT_EXCEPTION_DEFINED
36 struct MSVCRT(_exception
)
44 #endif /* MSVCRT_EXCEPTION_DEFINED */
46 #ifndef MSVCRT_COMPLEX_DEFINED
47 #define MSVCRT_COMPLEX_DEFINED
48 struct MSVCRT(_complex
)
50 double x
; /* Real part */
51 double y
; /* Imaginary part */
53 #endif /* MSVCRT_COMPLEX_DEFINED */
64 double atan2(double, double);
68 double pow(double, double);
73 double ldexp(double, int);
74 double frexp(double, int*);
75 double modf(double, double*);
76 double fmod(double, double);
78 double hypot(double, double);
81 double jn(int, double);
84 double yn(int, double);
86 int MSVCRT(_matherr
)(struct MSVCRT(_exception
)*);
87 double MSVCRT(_cabs
)(struct MSVCRT(_complex
));
93 #endif /* __WINE_MATH_H */