Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/mono/corert.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'src/System.Private.CoreLib/src/System/Math.CoreRT.cs')
-rw-r--r--src/System.Private.CoreLib/src/System/Math.CoreRT.cs30
1 files changed, 27 insertions, 3 deletions
diff --git a/src/System.Private.CoreLib/src/System/Math.CoreRT.cs b/src/System.Private.CoreLib/src/System/Math.CoreRT.cs
index dc4e40a17..1f5edbb98 100644
--- a/src/System.Private.CoreLib/src/System/Math.CoreRT.cs
+++ b/src/System.Private.CoreLib/src/System/Math.CoreRT.cs
@@ -20,7 +20,7 @@ namespace System
[Intrinsic]
public static float Abs(float value)
{
- return (float)RuntimeImports.fabs(value);
+ return RuntimeImports.fabsf(value);
}
[Intrinsic]
@@ -36,12 +36,24 @@ namespace System
}
[Intrinsic]
+ public static double Acosh(double d)
+ {
+ return RuntimeImports.acosh(d);
+ }
+
+ [Intrinsic]
public static double Asin(double d)
{
return RuntimeImports.asin(d);
}
[Intrinsic]
+ public static double Asinh(double d)
+ {
+ return RuntimeImports.asinh(d);
+ }
+
+ [Intrinsic]
public static double Atan(double d)
{
return RuntimeImports.atan(d);
@@ -49,11 +61,23 @@ namespace System
[Intrinsic]
public static double Atan2(double y, double x)
- {
+ {
return RuntimeImports.atan2(y, x);
}
[Intrinsic]
+ public static double Atanh(double d)
+ {
+ return RuntimeImports.atanh(d);
+ }
+
+ [Intrinsic]
+ public static double Cbrt(double d)
+ {
+ return RuntimeImports.cbrt(d);
+ }
+
+ [Intrinsic]
public static double Ceiling(double a)
{
return RuntimeImports.ceil(a);
@@ -73,7 +97,7 @@ namespace System
[Intrinsic]
public static double Exp(double d)
- {
+ {
return RuntimeImports.exp(d);
}