Fixed calls to methods that now have an additional parameter.

This commit is contained in:
Gilles 2016-02-15 18:22:45 +01:00
parent 0af5f146f2
commit 050dfa6f08
1 changed files with 21 additions and 0 deletions

View File

@ -651,6 +651,7 @@ public class FastMathTestPerformance {
final String M = "Math"; final String M = "Math";
final String FM = "FastMath"; final String FM = "FastMath";
final int maxWidth = 15;
final int numStat = 100; final int numStat = 100;
final int numCall = RUNS / numStat; final int numCall = RUNS / numStat;
@ -658,6 +659,7 @@ public class FastMathTestPerformance {
final double y = Math.random(); final double y = Math.random();
PerfTestUtils.timeAndReport("log", PerfTestUtils.timeAndReport("log",
maxWidth,
numCall, numCall,
numStat, numStat,
false, false,
@ -681,6 +683,7 @@ public class FastMathTestPerformance {
}); });
PerfTestUtils.timeAndReport("log10", PerfTestUtils.timeAndReport("log10",
maxWidth,
numCall, numCall,
numStat, numStat,
false, false,
@ -704,6 +707,7 @@ public class FastMathTestPerformance {
}); });
PerfTestUtils.timeAndReport("log1p", PerfTestUtils.timeAndReport("log1p",
maxWidth,
numCall, numCall,
numStat, numStat,
false, false,
@ -727,6 +731,7 @@ public class FastMathTestPerformance {
}); });
PerfTestUtils.timeAndReport("pow", PerfTestUtils.timeAndReport("pow",
maxWidth,
numCall, numCall,
numStat, numStat,
false, false,
@ -750,6 +755,7 @@ public class FastMathTestPerformance {
}); });
PerfTestUtils.timeAndReport("exp", PerfTestUtils.timeAndReport("exp",
maxWidth,
numCall, numCall,
numStat, numStat,
false, false,
@ -773,6 +779,7 @@ public class FastMathTestPerformance {
}); });
PerfTestUtils.timeAndReport("sin", PerfTestUtils.timeAndReport("sin",
maxWidth,
numCall, numCall,
numStat, numStat,
false, false,
@ -796,6 +803,7 @@ public class FastMathTestPerformance {
}); });
PerfTestUtils.timeAndReport("asin", PerfTestUtils.timeAndReport("asin",
maxWidth,
numCall, numCall,
numStat, numStat,
false, false,
@ -819,6 +827,7 @@ public class FastMathTestPerformance {
}); });
PerfTestUtils.timeAndReport("cos", PerfTestUtils.timeAndReport("cos",
maxWidth,
numCall, numCall,
numStat, numStat,
false, false,
@ -842,6 +851,7 @@ public class FastMathTestPerformance {
}); });
PerfTestUtils.timeAndReport("acos", PerfTestUtils.timeAndReport("acos",
maxWidth,
numCall, numCall,
numStat, numStat,
false, false,
@ -865,6 +875,7 @@ public class FastMathTestPerformance {
}); });
PerfTestUtils.timeAndReport("tan", PerfTestUtils.timeAndReport("tan",
maxWidth,
numCall, numCall,
numStat, numStat,
false, false,
@ -888,6 +899,7 @@ public class FastMathTestPerformance {
}); });
PerfTestUtils.timeAndReport("atan", PerfTestUtils.timeAndReport("atan",
maxWidth,
numCall, numCall,
numStat, numStat,
false, false,
@ -911,6 +923,7 @@ public class FastMathTestPerformance {
}); });
PerfTestUtils.timeAndReport("atan2", PerfTestUtils.timeAndReport("atan2",
maxWidth,
numCall, numCall,
numStat, numStat,
false, false,
@ -934,6 +947,7 @@ public class FastMathTestPerformance {
}); });
PerfTestUtils.timeAndReport("hypot", PerfTestUtils.timeAndReport("hypot",
maxWidth,
numCall, numCall,
numStat, numStat,
false, false,
@ -958,6 +972,7 @@ public class FastMathTestPerformance {
PerfTestUtils.timeAndReport("cbrt", PerfTestUtils.timeAndReport("cbrt",
maxWidth,
numCall, numCall,
numStat, numStat,
false, false,
@ -981,6 +996,7 @@ public class FastMathTestPerformance {
}); });
PerfTestUtils.timeAndReport("sqrt", PerfTestUtils.timeAndReport("sqrt",
maxWidth,
numCall, numCall,
numStat, numStat,
false, false,
@ -1004,6 +1020,7 @@ public class FastMathTestPerformance {
}); });
PerfTestUtils.timeAndReport("cosh", PerfTestUtils.timeAndReport("cosh",
maxWidth,
numCall, numCall,
numStat, numStat,
false, false,
@ -1027,6 +1044,7 @@ public class FastMathTestPerformance {
}); });
PerfTestUtils.timeAndReport("sinh", PerfTestUtils.timeAndReport("sinh",
maxWidth,
numCall, numCall,
numStat, numStat,
false, false,
@ -1050,6 +1068,7 @@ public class FastMathTestPerformance {
}); });
PerfTestUtils.timeAndReport("tanh", PerfTestUtils.timeAndReport("tanh",
maxWidth,
numCall, numCall,
numStat, numStat,
false, false,
@ -1073,6 +1092,7 @@ public class FastMathTestPerformance {
}); });
PerfTestUtils.timeAndReport("expm1", PerfTestUtils.timeAndReport("expm1",
maxWidth,
numCall, numCall,
numStat, numStat,
false, false,
@ -1096,6 +1116,7 @@ public class FastMathTestPerformance {
}); });
PerfTestUtils.timeAndReport("abs", PerfTestUtils.timeAndReport("abs",
maxWidth,
numCall, numCall,
numStat, numStat,
false, false,