In Test/System.Data:
[mono-project.git] / mono / utils / mono-math.h
blob90d14b6c611f9888839b22a5ca17db75b4bb6a99
2 #ifndef __MONO_SIGNBIT_H__
3 #define __MONO_SIGNBIT_H__
5 #include <math.h>
7 #ifdef HAVE_SIGNBIT
8 #define mono_signbit signbit
9 #else
10 #define mono_signbit(x) (sizeof (x) == sizeof (float) ? mono_signbit_float (x) : mono_signbit_double (x))
12 int
13 mono_signbit_double (double x);
15 int
16 mono_signbit_float (float x);
18 #endif
20 #endif