Class DoubleExtensions


  • @GwtCompatible
    public class DoubleExtensions
    extends java.lang.Object
    This is an extension library for floating point numbers, e.g. double or Double.
    Since:
    2.3
    • Constructor Detail

      • DoubleExtensions

        public DoubleExtensions()
    • Method Detail

      • operator_minus

        @Pure
        public static double operator_minus​(java.lang.Double a)
        The unary minus operator. This is the equivalent to the unary java - operator.
        Parameters:
        a - a double. May not be null.
        Returns:
        -a
        Throws:
        java.lang.NullPointerException - if a is null.
      • operator_plus

        @Pure
        public static double operator_plus​(java.lang.Double a,
                                           java.lang.Number b)
        The binary plus operator. This is the equivalent to the java + operator.
        Parameters:
        a - a double. May not be null.
        b - a number. May not be null.
        Returns:
        a+b
        Throws:
        java.lang.NullPointerException - if a or b is null.
      • operator_minus

        @Pure
        public static double operator_minus​(java.lang.Double a,
                                            java.lang.Number b)
        The binary minus operator. This is the equivalent to the java - operator.
        Parameters:
        a - a double. May not be null.
        b - a number. May not be null.
        Returns:
        a-b
        Throws:
        java.lang.NullPointerException - if a or b is null.
      • operator_power

        @Pure
        public static double operator_power​(java.lang.Double a,
                                            java.lang.Number b)
        The power operator.
        Parameters:
        a - a double. May not be null.
        b - a number. May not be null.
        Returns:
        a ** b
        Throws:
        java.lang.NullPointerException - if a or b is null.
      • operator_multiply

        public static double operator_multiply​(java.lang.Double a,
                                               java.lang.Number b)
        The binary times operator. This is the equivalent to the java * operator.
        Parameters:
        a - a double. May not be null.
        b - a number. May not be null.
        Returns:
        a*b
        Throws:
        java.lang.NullPointerException - if a or b is null.
      • operator_divide

        @Pure
        public static double operator_divide​(java.lang.Double a,
                                             java.lang.Number b)
        The binary divide operator. This is the equivalent to the java / operator. That is, the result will be the integral result of the division, e.g. operator_divide(1, 2) yields 0 .
        Parameters:
        a - a double. May not be null.
        b - a number. May not be null.
        Returns:
        a/b
        Throws:
        java.lang.NullPointerException - if a or b is null.
      • operator_minus

        @Pure
        public static double operator_minus​(double d)
        The unary minus operator. This is the equivalent to the Java's - function.
        Parameters:
        d - a double.
        Returns:
        -d
        Since:
        2.3
      • operator_minusMinus

        public static double operator_minusMinus​(double d)
        The postfix decrement operator. This is the equivalent to the Java's -- postfix function.
        Parameters:
        d - a double.
        Returns:
        d--
        Since:
        2.6
      • operator_minusMinus

        public static java.lang.Double operator_minusMinus​(java.lang.Double d)
        The postfix decrement operator. This is the equivalent to the Java's -- postfix function.
        Parameters:
        d - a double.
        Returns:
        d--
        Since:
        2.6
      • operator_plusPlus

        public static double operator_plusPlus​(double d)
        The postfix increment operator. This is the equivalent to the Java's ++ postfix function.
        Parameters:
        d - a double.
        Returns:
        d++
        Since:
        2.6
      • operator_plusPlus

        public static java.lang.Double operator_plusPlus​(java.lang.Double d)
        The postfix increment operator. This is the equivalent to the Java's ++ postfix function.
        Parameters:
        d - a double.
        Returns:
        d++
        Since:
        2.6
      • operator_plus

        @Pure
        public static double operator_plus​(double a,
                                           double b)
        The binary plus operator. This is the equivalent to the Java + operator.
        Parameters:
        a - a double.
        b - a double.
        Returns:
        a+b
        Since:
        2.3
      • operator_minus

        @Pure
        public static double operator_minus​(double a,
                                            double b)
        The binary minus operator. This is the equivalent to the Java - operator.
        Parameters:
        a - a double.
        b - a double.
        Returns:
        a-b
        Since:
        2.3
      • operator_multiply

        @Pure
        public static double operator_multiply​(double a,
                                               double b)
        The binary multiply operator. This is the equivalent to the Java * operator.
        Parameters:
        a - a double.
        b - a double.
        Returns:
        a*b
        Since:
        2.3
      • operator_divide

        @Pure
        public static double operator_divide​(double a,
                                             double b)
        The binary divide operator. This is the equivalent to the Java / operator.
        Parameters:
        a - a double.
        b - a double.
        Returns:
        a/b
        Since:
        2.3
      • operator_modulo

        @Pure
        public static double operator_modulo​(double a,
                                             double b)
        The binary modulo operator. This is the equivalent to the Java % operator.
        Parameters:
        a - a double.
        b - a double.
        Returns:
        a%b
        Since:
        2.3
      • operator_lessThan

        @Pure
        public static boolean operator_lessThan​(double a,
                                                double b)
        The binary lessThan operator. This is the equivalent to the Java < operator.
        Parameters:
        a - a double.
        b - a double.
        Returns:
        a<b
        Since:
        2.3
      • operator_lessEqualsThan

        @Pure
        public static boolean operator_lessEqualsThan​(double a,
                                                      double b)
        The binary lessEqualsThan operator. This is the equivalent to the Java <= operator.
        Parameters:
        a - a double.
        b - a double.
        Returns:
        a<=b
        Since:
        2.3
      • operator_greaterThan

        @Pure
        public static boolean operator_greaterThan​(double a,
                                                   double b)
        The binary greaterThan operator. This is the equivalent to the Java > operator.
        Parameters:
        a - a double.
        b - a double.
        Returns:
        a>b
        Since:
        2.3
      • operator_greaterEqualsThan

        @Pure
        public static boolean operator_greaterEqualsThan​(double a,
                                                         double b)
        The binary greaterEqualsThan operator. This is the equivalent to the Java >= operator.
        Parameters:
        a - a double.
        b - a double.
        Returns:
        a>=b
        Since:
        2.3
      • operator_equals

        @Pure
        public static boolean operator_equals​(double a,
                                              double b)
        The binary equals operator. This is the equivalent to the Java == operator.
        Parameters:
        a - a double.
        b - a double.
        Returns:
        a==b
        Since:
        2.3
      • operator_notEquals

        @Pure
        public static boolean operator_notEquals​(double a,
                                                 double b)
        The binary notEquals operator. This is the equivalent to the Java != operator.
        Parameters:
        a - a double.
        b - a double.
        Returns:
        a!=b
        Since:
        2.3
      • operator_power

        @Pure
        public static double operator_power​(double a,
                                            double b)
        The binary power operator. This is the equivalent to the Java's Math.pow() function.
        Parameters:
        a - a double.
        b - a double.
        Returns:
        Math.pow(a, b)
        Since:
        2.3
      • operator_tripleEquals

        @Pure
        public static boolean operator_tripleEquals​(double a,
                                                    double b)
        The identity equals operator. This is the equivalent to Java's == operator.
        Parameters:
        a - a double.
        b - a double.
        Returns:
        a == b
        Since:
        2.4
      • operator_tripleNotEquals

        @Pure
        public static boolean operator_tripleNotEquals​(double a,
                                                       double b)
        The identity not equals operator. This is the equivalent to Java's != operator.
        Parameters:
        a - a double.
        b - a double.
        Returns:
        a != b
        Since:
        2.4
      • operator_plus

        @Pure
        public static double operator_plus​(double a,
                                           float b)
        The binary plus operator. This is the equivalent to the Java + operator.
        Parameters:
        a - a double.
        b - a float.
        Returns:
        a+b
        Since:
        2.3
      • operator_minus

        @Pure
        public static double operator_minus​(double a,
                                            float b)
        The binary minus operator. This is the equivalent to the Java - operator.
        Parameters:
        a - a double.
        b - a float.
        Returns:
        a-b
        Since:
        2.3
      • operator_multiply

        @Pure
        public static double operator_multiply​(double a,
                                               float b)
        The binary multiply operator. This is the equivalent to the Java * operator.
        Parameters:
        a - a double.
        b - a float.
        Returns:
        a*b
        Since:
        2.3
      • operator_divide

        @Pure
        public static double operator_divide​(double a,
                                             float b)
        The binary divide operator. This is the equivalent to the Java / operator.
        Parameters:
        a - a double.
        b - a float.
        Returns:
        a/b
        Since:
        2.3
      • operator_modulo

        @Pure
        public static double operator_modulo​(double a,
                                             float b)
        The binary modulo operator. This is the equivalent to the Java % operator.
        Parameters:
        a - a double.
        b - a float.
        Returns:
        a%b
        Since:
        2.3
      • operator_lessThan

        @Pure
        public static boolean operator_lessThan​(double a,
                                                float b)
        The binary lessThan operator. This is the equivalent to the Java < operator.
        Parameters:
        a - a double.
        b - a float.
        Returns:
        a<b
        Since:
        2.3
      • operator_lessEqualsThan

        @Pure
        public static boolean operator_lessEqualsThan​(double a,
                                                      float b)
        The binary lessEqualsThan operator. This is the equivalent to the Java <= operator.
        Parameters:
        a - a double.
        b - a float.
        Returns:
        a<=b
        Since:
        2.3
      • operator_greaterThan

        @Pure
        public static boolean operator_greaterThan​(double a,
                                                   float b)
        The binary greaterThan operator. This is the equivalent to the Java > operator.
        Parameters:
        a - a double.
        b - a float.
        Returns:
        a>b
        Since:
        2.3
      • operator_greaterEqualsThan

        @Pure
        public static boolean operator_greaterEqualsThan​(double a,
                                                         float b)
        The binary greaterEqualsThan operator. This is the equivalent to the Java >= operator.
        Parameters:
        a - a double.
        b - a float.
        Returns:
        a>=b
        Since:
        2.3
      • operator_equals

        @Pure
        public static boolean operator_equals​(double a,
                                              float b)
        The binary equals operator. This is the equivalent to the Java == operator.
        Parameters:
        a - a double.
        b - a float.
        Returns:
        a==b
        Since:
        2.3
      • operator_notEquals

        @Pure
        public static boolean operator_notEquals​(double a,
                                                 float b)
        The binary notEquals operator. This is the equivalent to the Java != operator.
        Parameters:
        a - a double.
        b - a float.
        Returns:
        a!=b
        Since:
        2.3
      • operator_power

        @Pure
        public static double operator_power​(double a,
                                            float b)
        The binary power operator. This is the equivalent to the Java's Math.pow() function.
        Parameters:
        a - a double.
        b - a float.
        Returns:
        Math.pow(a, b)
        Since:
        2.3
      • operator_tripleEquals

        @Pure
        public static boolean operator_tripleEquals​(double a,
                                                    float b)
        The identity equals operator. This is the equivalent to Java's == operator.
        Parameters:
        a - a double.
        b - a float.
        Returns:
        a == b
        Since:
        2.4
      • operator_tripleNotEquals

        @Pure
        public static boolean operator_tripleNotEquals​(double a,
                                                       float b)
        The identity not equals operator. This is the equivalent to Java's != operator.
        Parameters:
        a - a double.
        b - a float.
        Returns:
        a != b
        Since:
        2.4
      • operator_plus

        @Pure
        public static double operator_plus​(double a,
                                           long b)
        The binary plus operator. This is the equivalent to the Java + operator.
        Parameters:
        a - a double.
        b - a long.
        Returns:
        a+b
        Since:
        2.3
      • operator_minus

        @Pure
        public static double operator_minus​(double a,
                                            long b)
        The binary minus operator. This is the equivalent to the Java - operator.
        Parameters:
        a - a double.
        b - a long.
        Returns:
        a-b
        Since:
        2.3
      • operator_multiply

        @Pure
        public static double operator_multiply​(double a,
                                               long b)
        The binary multiply operator. This is the equivalent to the Java * operator.
        Parameters:
        a - a double.
        b - a long.
        Returns:
        a*b
        Since:
        2.3
      • operator_divide

        @Pure
        public static double operator_divide​(double a,
                                             long b)
        The binary divide operator. This is the equivalent to the Java / operator.
        Parameters:
        a - a double.
        b - a long.
        Returns:
        a/b
        Since:
        2.3
      • operator_modulo

        @Pure
        public static double operator_modulo​(double a,
                                             long b)
        The binary modulo operator. This is the equivalent to the Java % operator.
        Parameters:
        a - a double.
        b - a long.
        Returns:
        a%b
        Since:
        2.3
      • operator_lessThan

        @Pure
        public static boolean operator_lessThan​(double a,
                                                long b)
        The binary lessThan operator. This is the equivalent to the Java < operator.
        Parameters:
        a - a double.
        b - a long.
        Returns:
        a<b
        Since:
        2.3
      • operator_lessEqualsThan

        @Pure
        public static boolean operator_lessEqualsThan​(double a,
                                                      long b)
        The binary lessEqualsThan operator. This is the equivalent to the Java <= operator.
        Parameters:
        a - a double.
        b - a long.
        Returns:
        a<=b
        Since:
        2.3
      • operator_greaterThan

        @Pure
        public static boolean operator_greaterThan​(double a,
                                                   long b)
        The binary greaterThan operator. This is the equivalent to the Java > operator.
        Parameters:
        a - a double.
        b - a long.
        Returns:
        a>b
        Since:
        2.3
      • operator_greaterEqualsThan

        @Pure
        public static boolean operator_greaterEqualsThan​(double a,
                                                         long b)
        The binary greaterEqualsThan operator. This is the equivalent to the Java >= operator.
        Parameters:
        a - a double.
        b - a long.
        Returns:
        a>=b
        Since:
        2.3
      • operator_equals

        @Pure
        public static boolean operator_equals​(double a,
                                              long b)
        The binary equals operator. This is the equivalent to the Java == operator.
        Parameters:
        a - a double.
        b - a long.
        Returns:
        a==b
        Since:
        2.3
      • operator_notEquals

        @Pure
        public static boolean operator_notEquals​(double a,
                                                 long b)
        The binary notEquals operator. This is the equivalent to the Java != operator.
        Parameters:
        a - a double.
        b - a long.
        Returns:
        a!=b
        Since:
        2.3
      • operator_power

        @Pure
        public static double operator_power​(double a,
                                            long b)
        The binary power operator. This is the equivalent to the Java's Math.pow() function.
        Parameters:
        a - a double.
        b - a long.
        Returns:
        Math.pow(a, b)
        Since:
        2.3
      • operator_tripleEquals

        @Pure
        public static boolean operator_tripleEquals​(double a,
                                                    long b)
        The identity equals operator. This is the equivalent to Java's == operator.
        Parameters:
        a - a double.
        b - a long.
        Returns:
        a == b
        Since:
        2.4
      • operator_tripleNotEquals

        @Pure
        public static boolean operator_tripleNotEquals​(double a,
                                                       long b)
        The identity not equals operator. This is the equivalent to Java's != operator.
        Parameters:
        a - a double.
        b - a long.
        Returns:
        a != b
        Since:
        2.4
      • operator_plus

        @Pure
        public static double operator_plus​(double a,
                                           int b)
        The binary plus operator. This is the equivalent to the Java + operator.
        Parameters:
        a - a double.
        b - an integer.
        Returns:
        a+b
        Since:
        2.3
      • operator_minus

        @Pure
        public static double operator_minus​(double a,
                                            int b)
        The binary minus operator. This is the equivalent to the Java - operator.
        Parameters:
        a - a double.
        b - an integer.
        Returns:
        a-b
        Since:
        2.3
      • operator_multiply

        @Pure
        public static double operator_multiply​(double a,
                                               int b)
        The binary multiply operator. This is the equivalent to the Java * operator.
        Parameters:
        a - a double.
        b - an integer.
        Returns:
        a*b
        Since:
        2.3
      • operator_divide

        @Pure
        public static double operator_divide​(double a,
                                             int b)
        The binary divide operator. This is the equivalent to the Java / operator.
        Parameters:
        a - a double.
        b - an integer.
        Returns:
        a/b
        Since:
        2.3
      • operator_modulo

        @Pure
        public static double operator_modulo​(double a,
                                             int b)
        The binary modulo operator. This is the equivalent to the Java % operator.
        Parameters:
        a - a double.
        b - an integer.
        Returns:
        a%b
        Since:
        2.3
      • operator_lessThan

        @Pure
        public static boolean operator_lessThan​(double a,
                                                int b)
        The binary lessThan operator. This is the equivalent to the Java < operator.
        Parameters:
        a - a double.
        b - an integer.
        Returns:
        a<b
        Since:
        2.3
      • operator_lessEqualsThan

        @Pure
        public static boolean operator_lessEqualsThan​(double a,
                                                      int b)
        The binary lessEqualsThan operator. This is the equivalent to the Java <= operator.
        Parameters:
        a - a double.
        b - an integer.
        Returns:
        a<=b
        Since:
        2.3
      • operator_greaterThan

        @Pure
        public static boolean operator_greaterThan​(double a,
                                                   int b)
        The binary greaterThan operator. This is the equivalent to the Java > operator.
        Parameters:
        a - a double.
        b - an integer.
        Returns:
        a>b
        Since:
        2.3
      • operator_greaterEqualsThan

        @Pure
        public static boolean operator_greaterEqualsThan​(double a,
                                                         int b)
        The binary greaterEqualsThan operator. This is the equivalent to the Java >= operator.
        Parameters:
        a - a double.
        b - an integer.
        Returns:
        a>=b
        Since:
        2.3
      • operator_equals

        @Pure
        public static boolean operator_equals​(double a,
                                              int b)
        The binary equals operator. This is the equivalent to the Java == operator.
        Parameters:
        a - a double.
        b - an integer.
        Returns:
        a==b
        Since:
        2.3
      • operator_notEquals

        @Pure
        public static boolean operator_notEquals​(double a,
                                                 int b)
        The binary notEquals operator. This is the equivalent to the Java != operator.
        Parameters:
        a - a double.
        b - an integer.
        Returns:
        a!=b
        Since:
        2.3
      • operator_power

        @Pure
        public static double operator_power​(double a,
                                            int b)
        The binary power operator. This is the equivalent to the Java's Math.pow() function.
        Parameters:
        a - a double.
        b - an integer.
        Returns:
        Math.pow(a, b)
        Since:
        2.3
      • operator_tripleEquals

        @Pure
        public static boolean operator_tripleEquals​(double a,
                                                    int b)
        The identity equals operator. This is the equivalent to Java's == operator.
        Parameters:
        a - a double.
        b - an integer.
        Returns:
        a == b
        Since:
        2.4
      • operator_tripleNotEquals

        @Pure
        public static boolean operator_tripleNotEquals​(double a,
                                                       int b)
        The identity not equals operator. This is the equivalent to Java's != operator.
        Parameters:
        a - a double.
        b - an integer.
        Returns:
        a != b
        Since:
        2.4
      • operator_plus

        @Pure
        public static double operator_plus​(double a,
                                           char b)
        The binary plus operator. This is the equivalent to the Java + operator.
        Parameters:
        a - a double.
        b - a character.
        Returns:
        a+b
        Since:
        2.3
      • operator_minus

        @Pure
        public static double operator_minus​(double a,
                                            char b)
        The binary minus operator. This is the equivalent to the Java - operator.
        Parameters:
        a - a double.
        b - a character.
        Returns:
        a-b
        Since:
        2.3
      • operator_multiply

        @Pure
        public static double operator_multiply​(double a,
                                               char b)
        The binary multiply operator. This is the equivalent to the Java * operator.
        Parameters:
        a - a double.
        b - a character.
        Returns:
        a*b
        Since:
        2.3
      • operator_divide

        @Pure
        public static double operator_divide​(double a,
                                             char b)
        The binary divide operator. This is the equivalent to the Java / operator.
        Parameters:
        a - a double.
        b - a character.
        Returns:
        a/b
        Since:
        2.3
      • operator_modulo

        @Pure
        public static double operator_modulo​(double a,
                                             char b)
        The binary modulo operator. This is the equivalent to the Java % operator.
        Parameters:
        a - a double.
        b - a character.
        Returns:
        a%b
        Since:
        2.3
      • operator_lessThan

        @Pure
        public static boolean operator_lessThan​(double a,
                                                char b)
        The binary lessThan operator. This is the equivalent to the Java < operator.
        Parameters:
        a - a double.
        b - a character.
        Returns:
        a<b
        Since:
        2.3
      • operator_lessEqualsThan

        @Pure
        public static boolean operator_lessEqualsThan​(double a,
                                                      char b)
        The binary lessEqualsThan operator. This is the equivalent to the Java <= operator.
        Parameters:
        a - a double.
        b - a character.
        Returns:
        a<=b
        Since:
        2.3
      • operator_greaterThan

        @Pure
        public static boolean operator_greaterThan​(double a,
                                                   char b)
        The binary greaterThan operator. This is the equivalent to the Java > operator.
        Parameters:
        a - a double.
        b - a character.
        Returns:
        a>b
        Since:
        2.3
      • operator_greaterEqualsThan

        @Pure
        public static boolean operator_greaterEqualsThan​(double a,
                                                         char b)
        The binary greaterEqualsThan operator. This is the equivalent to the Java >= operator.
        Parameters:
        a - a double.
        b - a character.
        Returns:
        a>=b
        Since:
        2.3
      • operator_equals

        @Pure
        public static boolean operator_equals​(double a,
                                              char b)
        The binary equals operator. This is the equivalent to the Java == operator.
        Parameters:
        a - a double.
        b - a character.
        Returns:
        a==b
        Since:
        2.3
      • operator_notEquals

        @Pure
        public static boolean operator_notEquals​(double a,
                                                 char b)
        The binary notEquals operator. This is the equivalent to the Java != operator.
        Parameters:
        a - a double.
        b - a character.
        Returns:
        a!=b
        Since:
        2.3
      • operator_power

        @Pure
        public static double operator_power​(double a,
                                            char b)
        The binary power operator. This is the equivalent to the Java's Math.pow() function.
        Parameters:
        a - a double.
        b - a character.
        Returns:
        Math.pow(a, b)
        Since:
        2.3
      • operator_tripleEquals

        @Pure
        public static boolean operator_tripleEquals​(double a,
                                                    char b)
        The identity equals operator. This is the equivalent to Java's == operator.
        Parameters:
        a - a double.
        b - a character.
        Returns:
        a == b
        Since:
        2.4
      • operator_tripleNotEquals

        @Pure
        public static boolean operator_tripleNotEquals​(double a,
                                                       char b)
        The identity not equals operator. This is the equivalent to Java's != operator.
        Parameters:
        a - a double.
        b - a character.
        Returns:
        a != b
        Since:
        2.4
      • operator_plus

        @Pure
        public static double operator_plus​(double a,
                                           short b)
        The binary plus operator. This is the equivalent to the Java + operator.
        Parameters:
        a - a double.
        b - a short.
        Returns:
        a+b
        Since:
        2.3
      • operator_minus

        @Pure
        public static double operator_minus​(double a,
                                            short b)
        The binary minus operator. This is the equivalent to the Java - operator.
        Parameters:
        a - a double.
        b - a short.
        Returns:
        a-b
        Since:
        2.3
      • operator_multiply

        @Pure
        public static double operator_multiply​(double a,
                                               short b)
        The binary multiply operator. This is the equivalent to the Java * operator.
        Parameters:
        a - a double.
        b - a short.
        Returns:
        a*b
        Since:
        2.3
      • operator_divide

        @Pure
        public static double operator_divide​(double a,
                                             short b)
        The binary divide operator. This is the equivalent to the Java / operator.
        Parameters:
        a - a double.
        b - a short.
        Returns:
        a/b
        Since:
        2.3
      • operator_modulo

        @Pure
        public static double operator_modulo​(double a,
                                             short b)
        The binary modulo operator. This is the equivalent to the Java % operator.
        Parameters:
        a - a double.
        b - a short.
        Returns:
        a%b
        Since:
        2.3
      • operator_lessThan

        @Pure
        public static boolean operator_lessThan​(double a,
                                                short b)
        The binary lessThan operator. This is the equivalent to the Java < operator.
        Parameters:
        a - a double.
        b - a short.
        Returns:
        a<b
        Since:
        2.3
      • operator_lessEqualsThan

        @Pure
        public static boolean operator_lessEqualsThan​(double a,
                                                      short b)
        The binary lessEqualsThan operator. This is the equivalent to the Java <= operator.
        Parameters:
        a - a double.
        b - a short.
        Returns:
        a<=b
        Since:
        2.3
      • operator_greaterThan

        @Pure
        public static boolean operator_greaterThan​(double a,
                                                   short b)
        The binary greaterThan operator. This is the equivalent to the Java > operator.
        Parameters:
        a - a double.
        b - a short.
        Returns:
        a>b
        Since:
        2.3
      • operator_greaterEqualsThan

        @Pure
        public static boolean operator_greaterEqualsThan​(double a,
                                                         short b)
        The binary greaterEqualsThan operator. This is the equivalent to the Java >= operator.
        Parameters:
        a - a double.
        b - a short.
        Returns:
        a>=b
        Since:
        2.3
      • operator_equals

        @Pure
        public static boolean operator_equals​(double a,
                                              short b)
        The binary equals operator. This is the equivalent to the Java == operator.
        Parameters:
        a - a double.
        b - a short.
        Returns:
        a==b
        Since:
        2.3
      • operator_notEquals

        @Pure
        public static boolean operator_notEquals​(double a,
                                                 short b)
        The binary notEquals operator. This is the equivalent to the Java != operator.
        Parameters:
        a - a double.
        b - a short.
        Returns:
        a!=b
        Since:
        2.3
      • operator_power

        @Pure
        public static double operator_power​(double a,
                                            short b)
        The binary power operator. This is the equivalent to the Java's Math.pow() function.
        Parameters:
        a - a double.
        b - a short.
        Returns:
        Math.pow(a, b)
        Since:
        2.3
      • operator_tripleEquals

        @Pure
        public static boolean operator_tripleEquals​(double a,
                                                    short b)
        The identity equals operator. This is the equivalent to Java's == operator.
        Parameters:
        a - a double.
        b - a short.
        Returns:
        a == b
        Since:
        2.4
      • operator_tripleNotEquals

        @Pure
        public static boolean operator_tripleNotEquals​(double a,
                                                       short b)
        The identity not equals operator. This is the equivalent to Java's != operator.
        Parameters:
        a - a double.
        b - a short.
        Returns:
        a != b
        Since:
        2.4
      • operator_plus

        @Pure
        public static double operator_plus​(double a,
                                           byte b)
        The binary plus operator. This is the equivalent to the Java + operator.
        Parameters:
        a - a double.
        b - a byte.
        Returns:
        a+b
        Since:
        2.3
      • operator_minus

        @Pure
        public static double operator_minus​(double a,
                                            byte b)
        The binary minus operator. This is the equivalent to the Java - operator.
        Parameters:
        a - a double.
        b - a byte.
        Returns:
        a-b
        Since:
        2.3
      • operator_multiply

        @Pure
        public static double operator_multiply​(double a,
                                               byte b)
        The binary multiply operator. This is the equivalent to the Java * operator.
        Parameters:
        a - a double.
        b - a byte.
        Returns:
        a*b
        Since:
        2.3
      • operator_divide

        @Pure
        public static double operator_divide​(double a,
                                             byte b)
        The binary divide operator. This is the equivalent to the Java / operator.
        Parameters:
        a - a double.
        b - a byte.
        Returns:
        a/b
        Since:
        2.3
      • operator_modulo

        @Pure
        public static double operator_modulo​(double a,
                                             byte b)
        The binary modulo operator. This is the equivalent to the Java % operator.
        Parameters:
        a - a double.
        b - a byte.
        Returns:
        a%b
        Since:
        2.3
      • operator_lessThan

        @Pure
        public static boolean operator_lessThan​(double a,
                                                byte b)
        The binary lessThan operator. This is the equivalent to the Java < operator.
        Parameters:
        a - a double.
        b - a byte.
        Returns:
        a<b
        Since:
        2.3
      • operator_lessEqualsThan

        @Pure
        public static boolean operator_lessEqualsThan​(double a,
                                                      byte b)
        The binary lessEqualsThan operator. This is the equivalent to the Java <= operator.
        Parameters:
        a - a double.
        b - a byte.
        Returns:
        a<=b
        Since:
        2.3
      • operator_greaterThan

        @Pure
        public static boolean operator_greaterThan​(double a,
                                                   byte b)
        The binary greaterThan operator. This is the equivalent to the Java > operator.
        Parameters:
        a - a double.
        b - a byte.
        Returns:
        a>b
        Since:
        2.3
      • operator_greaterEqualsThan

        @Pure
        public static boolean operator_greaterEqualsThan​(double a,
                                                         byte b)
        The binary greaterEqualsThan operator. This is the equivalent to the Java >= operator.
        Parameters:
        a - a double.
        b - a byte.
        Returns:
        a>=b
        Since:
        2.3
      • operator_equals

        @Pure
        public static boolean operator_equals​(double a,
                                              byte b)
        The binary equals operator. This is the equivalent to the Java == operator.
        Parameters:
        a - a double.
        b - a byte.
        Returns:
        a==b
        Since:
        2.3
      • operator_notEquals

        @Pure
        public static boolean operator_notEquals​(double a,
                                                 byte b)
        The binary notEquals operator. This is the equivalent to the Java != operator.
        Parameters:
        a - a double.
        b - a byte.
        Returns:
        a!=b
        Since:
        2.3
      • operator_power

        @Pure
        public static double operator_power​(double a,
                                            byte b)
        The binary power operator. This is the equivalent to the Java's Math.pow() function.
        Parameters:
        a - a double.
        b - a byte.
        Returns:
        Math.pow(a, b)
        Since:
        2.3
      • operator_tripleEquals

        @Pure
        public static boolean operator_tripleEquals​(double a,
                                                    byte b)
        The identity equals operator. This is the equivalent to Java's == operator.
        Parameters:
        a - a double.
        b - a byte.
        Returns:
        a == b
        Since:
        2.4
      • operator_tripleNotEquals

        @Pure
        public static boolean operator_tripleNotEquals​(double a,
                                                       byte b)
        The identity not equals operator. This is the equivalent to Java's != operator.
        Parameters:
        a - a double.
        b - a byte.
        Returns:
        a != b
        Since:
        2.4