This repository was archived by the owner on Jan 23, 2023. It is now read-only.
File tree Expand file tree Collapse file tree 15 files changed +15
-15
lines changed
tests/src/JIT/Performance/CodeQuality/Math/Functions/Single Expand file tree Collapse file tree 15 files changed +15
-15
lines changed Original file line number Diff line number Diff line change @@ -13,7 +13,7 @@ public static partial class MathTests
1313
1414 private const float atan2SingleDeltaX = - 0.0004f ;
1515 private const float atan2SingleDeltaY = 0.0004f ;
16- private const float atan2SingleExpectedResult = 3926.99082f ;
16+ private const float atan2SingleExpectedResult = 3930.14282f ;
1717
1818 [ Benchmark ]
1919 public static void Atan2SingleBenchmark ( )
Original file line number Diff line number Diff line change @@ -12,7 +12,7 @@ public static partial class MathTests
1212 // Tests MathF.Atan(float) over 5000 iterations for the domain -1, +1
1313
1414 private const float atanSingleDelta = 0.0004f ;
15- private const float atanSingleExpectedResult = 0.785398163f ;
15+ private const float atanSingleExpectedResult = 0.841940999f ;
1616
1717 [ Benchmark ]
1818 public static void AtanSingleBenchmark ( )
Original file line number Diff line number Diff line change @@ -12,7 +12,7 @@ public static partial class MathTests
1212 // Tests MathF.Ceiling(float) over 5000 iterations for the domain -1, +1
1313
1414 private const float ceilingSingleDelta = 0.0004f ;
15- private const float ceilingSingleExpectedResult = 2500 .0f;
15+ private const float ceilingSingleExpectedResult = 2502 .0f;
1616
1717 [ Benchmark ]
1818 public static void CeilingSingleBenchmark ( )
Original file line number Diff line number Diff line change @@ -12,7 +12,7 @@ public static partial class MathTests
1212 // Tests MathF.Cos(float) over 5000 iterations for the domain 0, PI
1313
1414 private const float cosSingleDelta = 0.000628318531f ;
15- private const float cosSingleExpectedResult = - 1.00000000f ;
15+ private const float cosSingleExpectedResult = - 0.993487537f ;
1616
1717 [ Benchmark ]
1818 public static void CosSingleBenchmark ( )
Original file line number Diff line number Diff line change @@ -12,7 +12,7 @@ public static partial class MathTests
1212 // Tests MathF.Cosh(float) over 5000 iterations for the domain -1, +1
1313
1414 private const float coshSingleDelta = 0.0004f ;
15- private const float coshSingleExpectedResult = 5876.00605f ;
15+ private const float coshSingleExpectedResult = 5876.02588f ;
1616
1717 [ Benchmark ]
1818 public static void CoshSingleBenchmark ( )
Original file line number Diff line number Diff line change @@ -12,7 +12,7 @@ public static partial class MathTests
1212 // Tests MathF.Exp(float) over 5000 iterations for the domain -1, +1
1313
1414 private const float expSingleDelta = 0.0004f ;
15- private const float expSingleExpectedResult = 5877.18125f ;
15+ private const float expSingleExpectedResult = 5877.28564f ;
1616
1717 [ Benchmark ]
1818 public static void ExpSingleBenchmark ( )
Original file line number Diff line number Diff line change @@ -12,7 +12,7 @@ public static partial class MathTests
1212 // Tests MathF.Floor(float) over 5000 iterations for the domain -1, +1
1313
1414 private const float floorSingleDelta = 0.0004f ;
15- private const float floorSingleExpectedResult = - 2500 .0f;
15+ private const float floorSingleExpectedResult = - 2498 .0f;
1616
1717 [ Benchmark ]
1818 public static void FloorSingleBenchmark ( )
Original file line number Diff line number Diff line change @@ -12,7 +12,7 @@ public static partial class MathTests
1212 // Tests MathF.Log10(float) over 5000 iterations for the domain -1, +1
1313
1414 private const float log10SingleDelta = 0.0004f ;
15- private const float log10SingleExpectedResult = - 664.073849f ;
15+ private const float log10SingleExpectedResult = - 664.094971f ;
1616
1717 [ Benchmark ]
1818 public static void Log10SingleBenchmark ( )
Original file line number Diff line number Diff line change @@ -12,7 +12,7 @@ public static partial class MathTests
1212 // Tests MathF.Log(float) over 5000 iterations for the domain -1, +1
1313
1414 private const float logSingleDelta = 0.0004f ;
15- private const float logSingleExpectedResult = - 1529.08655f ;
15+ private const float logSingleExpectedResult = - 1529.14014f ;
1616
1717 [ Benchmark ]
1818 public static void LogSingleBenchmark ( )
Original file line number Diff line number Diff line change @@ -13,7 +13,7 @@ public static partial class MathTests
1313
1414 private const float powSingleDeltaX = - 0.0004f ;
1515 private const float powSingleDeltaY = 0.0004f ;
16- private const float powSingleExpectedResult = 4659.46274f ;
16+ private const float powSingleExpectedResult = 4659.30762f ;
1717
1818 [ Benchmark ]
1919 public static void PowSingleBenchmark ( )
You can’t perform that action at this time.
0 commit comments