Uses of Class
org.apache.commons.numbers.core.DD

Packages that use DD
Package
Description
Basic utilities.
Field-related utilities.
  • Uses of DD in org.apache.commons.numbers.core

    Fields in org.apache.commons.numbers.core declared as DD
    Modifier and Type
    Field
    Description
    static final DD
    DD.ONE
    A double-double number representing one.
    static final DD
    DD.ZERO
    A double-double number representing zero.
    Methods in org.apache.commons.numbers.core that return DD
    Modifier and Type
    Method
    Description
    DD.abs()
    Returns a DD whose value is the absolute value of the number (x, xx) This method assumes that the low part xx is the smaller magnitude.
    DD.add(double y)
    Returns a DD whose value is (this + y).
    DD.add(DD y)
    Returns a DD whose value is (this + y).
    DD.ceil()
    Returns the smallest (closest to negative infinity) DD value that is greater than or equal to this number (x, xx) and is equal to a mathematical integer.
    DD.divide(double y)
    Returns a DD whose value is (this / y).
    DD.divide(DD y)
    Returns a DD whose value is (this / y).
    DD.floor()
    Returns the largest (closest to positive infinity) DD value that is less than or equal to this number (x, xx) and is equal to a mathematical integer.
    DD.frexp(int[] exp)
    Convert this number x to fractional f and integral 2^exp components.
    static DD
    Creates the double-double number (z, zz) using the double representation of the argument x; the low part is the double representation of the round-off error.
    static DD
    DD.fromQuotient(double x, double y)
    Returns a DD whose value is (x / y).
    DD.multiply(double y)
    Returns a DD whose value is this * y.
    DD.multiply(int n)
    Repeated addition.
    DD.multiply(DD y)
    Returns a DD whose value is this * y.
    DD.negate()
    Returns a DD whose value is the negation of both parts of double-double number.
    static DD
    DD.of(double x)
    Creates the double-double number as the value (x, 0).
    static DD
    DD.of(int x)
    Creates the double-double number as the value (x, 0).
    static DD
    DD.of(long x)
    Creates the double-double number with the high part equal to (double) x and the low part equal to any remaining bits.
    static DD
    DD.ofDifference(double x, double y)
    Returns a DD whose value is (x - y).
    static DD
    DD.ofProduct(double x, double y)
    Returns a DD whose value is (x * y).
    static DD
    DD.ofSquare(double x)
    Returns a DD whose value is (x * x).
    static DD
    DD.ofSum(double x, double y)
    Returns a DD whose value is (x + y).
    DD.one()
    Identity element.
    DD.pow(int n)
    Compute this number (x, xx) raised to the power n.
    DD.pow(int n, long[] exp)
    Compute this number x raised to the power n.
    static DD
    DDMath.pow(DD x, int n, long[] exp)
    Compute the number x raised to the power n.
    Compute the reciprocal of this.
    DD.scalb(int exp)
    Multiply this number (x, xx) by an integral power of two.
    DD.sqrt()
    Compute the square root of this number (x, xx).
    DD.square()
    Returns a DD whose value is this * this.
    DD.subtract(double y)
    Returns a DD whose value is (this - y).
    DD.subtract(DD y)
    Returns a DD whose value is (this - y).
    DD.zero()
    Identity element.
    Methods in org.apache.commons.numbers.core with parameters of type DD
    Modifier and Type
    Method
    Description
    DD.add(DD y)
    Returns a DD whose value is (this + y).
    DD.divide(DD y)
    Returns a DD whose value is (this / y).
    DD.multiply(DD y)
    Returns a DD whose value is this * y.
    static DD
    DDMath.pow(DD x, int n, long[] exp)
    Compute the number x raised to the power n.
    DD.subtract(DD y)
    Returns a DD whose value is (this - y).
  • Uses of DD in org.apache.commons.numbers.field

    Methods in org.apache.commons.numbers.field that return DD
    Modifier and Type
    Method
    Description
    DDField.one()
    Return the value of one.
    DDField.zero()
    Return the value of zero.