Package org.openjdk.jmh.util
Class ScoreFormatter
java.lang.Object
org.openjdk.jmh.util.ScoreFormatter
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic String
format
(double score) static String
format
(int width, double score) static String
formatError
(double error) static String
formatError
(int width, double error) static String
formatExact
(int width, double score) static String
formatLatex
(double score) static boolean
isApproximate
(double score) static String
superscript
(String str)
-
Field Details
-
PRECISION
private static final int PRECISION -
ULP
private static final double ULP -
THRESHOLD
private static final double THRESHOLD
-
-
Constructor Details
-
ScoreFormatter
public ScoreFormatter()
-
-
Method Details
-
isApproximate
public static boolean isApproximate(double score) -
format
-
format
-
formatExact
-
formatLatex
-
formatError
-
formatError
-
superscript
-