Merge pull request #5714 from alexischr/update_bockbuild
[mono.git] / mono / metadata / sysmath.h
index e89269a98e580fcc2c12b29bfd171cea55980a28..52a4f7a973fc5e4295a1e3963ff86c7f27bb1faf 100644 (file)
@@ -1,10 +1,13 @@
-/*
- * math.h
+/**
+ * \file
  *
  * Author:
  *   Dan Lewis (dihlewis@yahoo.co.uk)
+ *   Ludovic Henry (ludovic@xamarin.com)
  *
  * (C) Ximian, Inc. 2002
+ * Copyright 2015 Xamarin, Inc (https://www.xamarin.com)
+ * Licensed under the MIT license. See LICENSE file in the project root for full license information.
  */
 
 #ifndef __METADATA_SYSMATH_H__
 
 #include <config.h>
 #include <glib.h>
-#include "mono/utils/mono-compiler.h"
 
-extern gdouble ves_icall_System_Math_Floor (gdouble x) MONO_INTERNAL;
-extern gdouble ves_icall_System_Math_Round (gdouble x) MONO_INTERNAL;
-extern gdouble ves_icall_System_Math_Round2 (gdouble value, gint32 digits) MONO_INTERNAL;
+gdouble
+ves_icall_System_Math_Floor (gdouble x);
 
-extern gdouble 
-ves_icall_System_Math_Sin (gdouble x) MONO_INTERNAL;
+gdouble
+ves_icall_System_Math_Round (gdouble x);
 
-extern gdouble 
-ves_icall_System_Math_Cos (gdouble x) MONO_INTERNAL;
+gdouble
+ves_icall_System_Math_Sin (gdouble x);
 
-extern gdouble 
-ves_icall_System_Math_Tan (gdouble x) MONO_INTERNAL;
+gdouble
+ves_icall_System_Math_Cos (gdouble x);
 
-extern gdouble 
-ves_icall_System_Math_Sinh (gdouble x) MONO_INTERNAL;
+gdouble
+ves_icall_System_Math_Tan (gdouble x);
 
-extern gdouble 
-ves_icall_System_Math_Cosh (gdouble x) MONO_INTERNAL;
+gdouble
+ves_icall_System_Math_Sinh (gdouble x);
 
-extern gdouble 
-ves_icall_System_Math_Tanh (gdouble x) MONO_INTERNAL;
+gdouble
+ves_icall_System_Math_Cosh (gdouble x);
 
-extern gdouble 
-ves_icall_System_Math_Acos (gdouble x) MONO_INTERNAL;
+gdouble
+ves_icall_System_Math_Tanh (gdouble x);
 
-extern gdouble 
-ves_icall_System_Math_Asin (gdouble x) MONO_INTERNAL;
+gdouble
+ves_icall_System_Math_Acos (gdouble x);
 
-extern gdouble 
-ves_icall_System_Math_Atan (gdouble x) MONO_INTERNAL;
+gdouble
+ves_icall_System_Math_Asin (gdouble x);
 
-extern gdouble 
-ves_icall_System_Math_Atan2 (gdouble y, gdouble x) MONO_INTERNAL;
+gdouble
+ves_icall_System_Math_Atan (gdouble x);
 
-extern gdouble 
-ves_icall_System_Math_Exp (gdouble x) MONO_INTERNAL;
+gdouble
+ves_icall_System_Math_Atan2 (gdouble y, gdouble x);
 
-extern gdouble 
-ves_icall_System_Math_Log (gdouble x) MONO_INTERNAL;
+gdouble
+ves_icall_System_Math_Exp (gdouble x);
 
-extern gdouble 
-ves_icall_System_Math_Log10 (gdouble x) MONO_INTERNAL;
+gdouble
+ves_icall_System_Math_Log (gdouble x);
 
-extern gdouble 
-ves_icall_System_Math_Pow (gdouble x, gdouble y) MONO_INTERNAL;
+gdouble
+ves_icall_System_Math_Log10 (gdouble x);
 
-extern gdouble 
-ves_icall_System_Math_Sqrt (gdouble x) MONO_INTERNAL;
+gdouble
+ves_icall_System_Math_Pow (gdouble x, gdouble y);
+
+gdouble
+ves_icall_System_Math_Sqrt (gdouble x);
+
+gdouble
+ves_icall_System_Math_Abs_double (gdouble v);
+
+gfloat
+ves_icall_System_Math_Abs_single (gfloat v);
+
+gdouble
+ves_icall_System_Math_SplitFractionDouble (gdouble *v);
+
+gdouble
+ves_icall_System_Math_Ceiling (gdouble v);
 
 #endif