X-Git-Url: http://wien.tomnetworks.com/gitweb/?a=blobdiff_plain;f=mono%2Fmetadata%2Fsysmath.h;h=bb3cf92bfd5d1906d1a53e04f4c59a0cdacc5e87;hb=6723d1e5cc970ec89c146ceb6f8895db96057919;hp=f8f5778ab418c7fdd52f28a9f8f6cc311d3b9815;hpb=815e7befb3af5ef8e8519fb9541a8e6bf09214f3;p=mono.git diff --git a/mono/metadata/sysmath.h b/mono/metadata/sysmath.h index f8f5778ab41..bb3cf92bfd5 100644 --- a/mono/metadata/sysmath.h +++ b/mono/metadata/sysmath.h @@ -3,8 +3,10 @@ * * Author: * Dan Lewis (dihlewis@yahoo.co.uk) + * Ludovic Henry (ludovic@xamarin.com) * * (C) Ximian, Inc. 2002 + * Copyright 2015 Xamarin, Inc (https://www.xamarin.com) */ #ifndef __METADATA_SYSMATH_H__ @@ -12,55 +14,68 @@ #include #include -#include "mono/utils/mono-compiler.h" -extern gdouble ves_icall_System_Math_Floor (gdouble x); -extern gdouble ves_icall_System_Math_Round (gdouble x); -extern gdouble ves_icall_System_Math_Round2 (gdouble value, gint32 digits, gboolean away_from_zero); +gdouble +ves_icall_System_Math_Floor (gdouble x); -extern gdouble +gdouble +ves_icall_System_Math_Round (gdouble x); + +gdouble ves_icall_System_Math_Sin (gdouble x); -extern gdouble +gdouble ves_icall_System_Math_Cos (gdouble x); -extern gdouble +gdouble ves_icall_System_Math_Tan (gdouble x); -extern gdouble +gdouble ves_icall_System_Math_Sinh (gdouble x); -extern gdouble +gdouble ves_icall_System_Math_Cosh (gdouble x); -extern gdouble +gdouble ves_icall_System_Math_Tanh (gdouble x); -extern gdouble +gdouble ves_icall_System_Math_Acos (gdouble x); -extern gdouble +gdouble ves_icall_System_Math_Asin (gdouble x); -extern gdouble +gdouble ves_icall_System_Math_Atan (gdouble x); -extern gdouble +gdouble ves_icall_System_Math_Atan2 (gdouble y, gdouble x); -extern gdouble +gdouble ves_icall_System_Math_Exp (gdouble x); -extern gdouble +gdouble ves_icall_System_Math_Log (gdouble x); -extern gdouble +gdouble ves_icall_System_Math_Log10 (gdouble x); -extern gdouble +gdouble ves_icall_System_Math_Pow (gdouble x, gdouble y); -extern gdouble +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