Class NumberOperationContributor

  • All Implemented Interfaces:
    java.lang.AutoCloseable

    public class NumberOperationContributor
    extends OperationContributor
    • Constructor Detail

      • NumberOperationContributor

        public NumberOperationContributor()
    • Method Detail

      • factorial

        public long factorial()
        n!. Note that only values less than or equal to 20 are supported.
        Returns:
        Factorial of self.
        Since:
        1.6
      • min

        public java.lang.Number min​(java.lang.Number other)
      • max

        public java.lang.Number max​(java.lang.Number other)
      • floor

        public int floor()
      • pow

        public java.lang.Number pow​(java.lang.Number n)
      • ceiling

        public int ceiling()
      • round

        public int round()
      • ln

        public double ln()
      • log

        public double log()
      • log10

        public double log10()
      • abs

        public java.lang.Number abs()
      • asReal

        public double asReal()
      • asDouble

        public double asDouble()
      • asFloat

        public float asFloat()
      • asInteger

        public int asInteger()
      • asLong

        public long asLong()