[sdks] Fixes llvm branch name (#8926)
[mono-project.git] / mono / metadata / sysmath.h
blob627a5cef087e7d48554694d24b4c80bfd16d76d4
1 /**
2 * \file
4 * Author:
5 * Dan Lewis (dihlewis@yahoo.co.uk)
6 * Ludovic Henry (ludovic@xamarin.com)
8 * (C) Ximian, Inc. 2002
9 * Copyright 2015 Xamarin, Inc (https://www.xamarin.com)
10 * Licensed under the MIT license. See LICENSE file in the project root for full license information.
13 #ifndef __METADATA_SYSMATH_H__
14 #define __METADATA_SYSMATH_H__
16 #include <config.h>
17 #include <glib.h>
19 gdouble
20 ves_icall_System_Math_Floor (gdouble x);
22 gdouble
23 ves_icall_System_Math_Round (gdouble x);
25 gdouble
26 ves_icall_System_Math_Sin (gdouble x);
28 gdouble
29 ves_icall_System_Math_Cos (gdouble x);
31 gdouble
32 ves_icall_System_Math_Tan (gdouble x);
34 gdouble
35 ves_icall_System_Math_Sinh (gdouble x);
37 gdouble
38 ves_icall_System_Math_Cosh (gdouble x);
40 gdouble
41 ves_icall_System_Math_Tanh (gdouble x);
43 gdouble
44 ves_icall_System_Math_Acos (gdouble x);
46 gdouble
47 ves_icall_System_Math_Asin (gdouble x);
49 gdouble
50 ves_icall_System_Math_Atan (gdouble x);
52 gdouble
53 ves_icall_System_Math_Atan2 (gdouble y, gdouble x);
55 gdouble
56 ves_icall_System_Math_Exp (gdouble x);
58 gdouble
59 ves_icall_System_Math_Log (gdouble x);
61 gdouble
62 ves_icall_System_Math_Log10 (gdouble x);
64 gdouble
65 ves_icall_System_Math_Pow (gdouble x, gdouble y);
67 gdouble
68 ves_icall_System_Math_Sqrt (gdouble x);
70 gdouble
71 ves_icall_System_Math_Abs_double (gdouble v);
73 gfloat
74 ves_icall_System_Math_Abs_single (gfloat v);
76 gdouble
77 ves_icall_System_Math_SplitFractionDouble (gdouble *v);
79 gdouble
80 ves_icall_System_Math_Ceiling (gdouble v);
82 float
83 ves_icall_System_MathF_Acos (float x);
85 float
86 ves_icall_System_MathF_Acosh (float x);
88 float
89 ves_icall_System_MathF_Asin (float x);
91 float
92 ves_icall_System_MathF_Asinh (float x);
94 float
95 ves_icall_System_MathF_Atan (float x);
97 float
98 ves_icall_System_MathF_Atan2 (float x, float y);
100 float
101 ves_icall_System_MathF_Atanh (float x);
103 float
104 ves_icall_System_MathF_Cbrt (float x);
106 float
107 ves_icall_System_MathF_Ceiling (float x);
109 float
110 ves_icall_System_MathF_Cos (float x);
112 float
113 ves_icall_System_MathF_Cosh (float x);
115 float
116 ves_icall_System_MathF_Exp (float x);
118 float
119 ves_icall_System_MathF_Floor (float x);
121 float
122 ves_icall_System_MathF_Log (float x);
124 float
125 ves_icall_System_MathF_Log10 (float x);
127 float
128 ves_icall_System_MathF_Pow (float x, float y);
130 float
131 ves_icall_System_MathF_Sin (float x);
133 float
134 ves_icall_System_MathF_Sinh (float x);
136 float
137 ves_icall_System_MathF_Sqrt (float x);
139 float
140 ves_icall_System_MathF_Tan (float x);
142 float
143 ves_icall_System_MathF_Tanh (float x);
145 float
146 ves_icall_System_MathF_FMod (float x, float y);
148 float
149 ves_icall_System_MathF_ModF (float x, float *d);
151 #endif