java.lang.Object
org.eclipse.rdf4j.query.algebra.evaluation.util.MathUtil

public class MathUtil extends Object
A utility class for evaluation of mathematical expressions on RDF literals.
  • Field Details

    • DEFAULT_DECIMAL_EXPANSION_SCALE

      public static final int DEFAULT_DECIMAL_EXPANSION_SCALE
      The default expansion scale used in division operations resulting in a decimal value with non-terminating decimal expansion. The OpenRDF default is 24 digits, a value used in various other SPARQL implementations, to make comparison between these systems easy.
      See Also:
    • decimalExpansionScale

      private static int decimalExpansionScale
  • Constructor Details

    • MathUtil

      public MathUtil()
  • Method Details