Package org.openjdk.jmh.util
Class ScoreFormatter
- java.lang.Object
-
- org.openjdk.jmh.util.ScoreFormatter
-
public class ScoreFormatter extends Object
-
-
Constructor Summary
Constructors Constructor Description ScoreFormatter()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static 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)
-
-
-
Method Detail
-
isApproximate
public static boolean isApproximate(double score)
-
format
public static String format(double score)
-
format
public static String format(int width, double score)
-
formatExact
public static String formatExact(int width, double score)
-
formatLatex
public static String formatLatex(double score)
-
formatError
public static String formatError(double error)
-
formatError
public static String formatError(int width, double error)
-
-