[jit] Fix the saving of the 'cfg->ret_var_set' flag when inlining, it was set to...
[mono.git] / mono / utils / mono-math.h
1 /**
2  * \file
3  */
4
5 #ifndef __MONO_SIGNBIT_H__
6 #define __MONO_SIGNBIT_H__
7
8 #include <math.h>
9 #include <mono/utils/mono-publib.h>
10
11 #ifdef HAVE_SIGNBIT
12 #define mono_signbit signbit
13 #else
14 #define mono_signbit(x) (sizeof (x) == sizeof (float) ? mono_signbit_float (x) : mono_signbit_double (x))
15
16 MONO_API int
17 mono_signbit_double (double x);
18
19 MONO_API int
20 mono_signbit_float (float x);
21
22 #endif
23
24 #endif