Class ScoreFormatter

java.lang.Object
org.openjdk.jmh.util.ScoreFormatter

public class ScoreFormatter extends Object
  • 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

      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)
    • superscript

      public static String superscript(String str)