[tools] Add nuget-hash-extractor tool to help produce the runtime ignored assemblies...
[mono-project.git] / mono / utils / mono-math.h
blob46499c2a25a9e3a6081cab3928d040e32da2c34f
2 #ifndef __MONO_SIGNBIT_H__
3 #define __MONO_SIGNBIT_H__
5 #include <math.h>
6 #include <mono/utils/mono-publib.h>
8 #ifdef HAVE_SIGNBIT
9 #define mono_signbit signbit
10 #else
11 #define mono_signbit(x) (sizeof (x) == sizeof (float) ? mono_signbit_float (x) : mono_signbit_double (x))
13 MONO_API int
14 mono_signbit_double (double x);
16 MONO_API int
17 mono_signbit_float (float x);
19 #endif
21 #endif