Class MathUtil


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

      • 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:
        Constant Field Values
      • decimalExpansionScale

        private static int decimalExpansionScale
    • Constructor Detail

      • MathUtil

        public MathUtil()