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.
    (package private) static DD
    DD.accurateAdd(double x, double xx, double y)
    Compute the sum of (x, xx) and y.
    (package private) static DD
    DD.accurateAdd(double x, double xx, double y, double yy)
    Compute the sum of (x, xx) and (y, yy).
    DD.add(double y)
    Returns a DD whose value is (this + y).
    (package private) static DD
    DD.add(double x, double xx, double y, double yy)
    Compute the sum of (x, xx) and (y, yy).
    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.
    private static DD
    DD.computePow(double x, double xx, int n)
    Compute the number x (non-zero finite) raised to the power n.
    private static DD
    DD.computePowScaled(long b, double x, double xx, int n, long[] exp)
    Compute the number x (non-zero finite) raised to the power n.
    private static DD
    DDMath.computePowScaled(long b, double x, double xx, int n, long[] exp)
    Compute the number x (non-zero finite) raised to the power n.
    DD.divide(double y)
    Returns a DD whose value is (this / y).
    private static DD
    DD.divide(double x, double xx, double y)
    Compute the division of (x, xx) by y.
    private static DD
    DD.divide(double x, double xx, double y, double yy)
    Compute the division of (x, xx) by (y, yy).
    DD.divide(DD y)
    Returns a DD whose value is (this / y).
    (package private) static DD
    DD.fastTwoDiff(double a, double b)
    Compute the difference of two numbers a and b using Dekker's two-sum algorithm.
    (package private) static DD
    DD.fastTwoSum(double a, double b)
    Compute the sum of two numbers a and b using Dekker's two-sum algorithm.
    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.
    private static DD
    DD.floorOrCeil(double x, double xx, DoubleUnaryOperator op)
    Implementation of the floor and ceiling functions.
    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).
    private static DD
    DDMath.inverse3(double y, double yy, double yyy)
    Compute the inverse of (y, yy, yyy).
    DD.multiply(double y)
    Returns a DD whose value is this * y.
    private static DD
    DD.multiply(double x, double xx, double y)
    Compute the multiplication product of (x, xx) and y.
    private static DD
    DD.multiply(double x, double xx, double y, double yy)
    Compute the multiplication product of (x, xx) and (y, yy).
    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).
    (package private) static DD
    DD.of(double x, double xx)
    Creates the double-double number as the value (x, xx).
    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.
    private static DD
    DD.reciprocal(double y, double yy)
    Compute the inverse of (y, yy).
    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.
    private static DD
    DD.square(double x, double xx)
    Compute the square of (x, xx).
    DD.subtract(double y)
    Returns a DD whose value is (this - y).
    DD.subtract(DD y)
    Returns a DD whose value is (this - y).
    (package private) static DD
    DD.twoDiff(double a, double b)
    Compute the difference of two numbers a and b using Knuth's two-sum algorithm.
    (package private) static DD
    DD.twoProd(double x, double y)
    Compute the double-double number (z,zz) for the exact product of x and y.
    (package private) static DD
    DD.twoSquare(double x)
    Compute the double-double number (z,zz) for the exact square of x.
    (package private) static DD
    DD.twoSum(double a, double b)
    Compute the sum of two numbers a and b using Knuth's two-sum algorithm.
    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.