First set of licensing changes
[mono.git] / mono / metadata / sysmath.h
1 /*
2  * math.h
3  *
4  * Author:
5  *   Dan Lewis (dihlewis@yahoo.co.uk)
6  *   Ludovic Henry (ludovic@xamarin.com)
7  *
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.
11  */
12
13 #ifndef __METADATA_SYSMATH_H__
14 #define __METADATA_SYSMATH_H__
15
16 #include <config.h>
17 #include <glib.h>
18
19 gdouble
20 ves_icall_System_Math_Floor (gdouble x);
21
22 gdouble
23 ves_icall_System_Math_Round (gdouble x);
24
25 gdouble
26 ves_icall_System_Math_Sin (gdouble x);
27
28 gdouble
29 ves_icall_System_Math_Cos (gdouble x);
30
31 gdouble
32 ves_icall_System_Math_Tan (gdouble x);
33
34 gdouble
35 ves_icall_System_Math_Sinh (gdouble x);
36
37 gdouble
38 ves_icall_System_Math_Cosh (gdouble x);
39
40 gdouble
41 ves_icall_System_Math_Tanh (gdouble x);
42
43 gdouble
44 ves_icall_System_Math_Acos (gdouble x);
45
46 gdouble
47 ves_icall_System_Math_Asin (gdouble x);
48
49 gdouble
50 ves_icall_System_Math_Atan (gdouble x);
51
52 gdouble
53 ves_icall_System_Math_Atan2 (gdouble y, gdouble x);
54
55 gdouble
56 ves_icall_System_Math_Exp (gdouble x);
57
58 gdouble
59 ves_icall_System_Math_Log (gdouble x);
60
61 gdouble
62 ves_icall_System_Math_Log10 (gdouble x);
63
64 gdouble
65 ves_icall_System_Math_Pow (gdouble x, gdouble y);
66
67 gdouble
68 ves_icall_System_Math_Sqrt (gdouble x);
69
70 gdouble
71 ves_icall_System_Math_Abs_double (gdouble v);
72
73 gfloat
74 ves_icall_System_Math_Abs_single (gfloat v);
75
76 gdouble
77 ves_icall_System_Math_SplitFractionDouble (gdouble *v);
78
79 gdouble
80 ves_icall_System_Math_Ceiling (gdouble v);
81
82 #endif