DD |
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 |
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 |
DD.add(DD y) |
Returns a DD whose value is (this + y) .
|
DD |
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 |
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 |
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 |
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,
java.util.function.DoubleUnaryOperator op) |
Implementation of the floor and ceiling functions.
|
DD |
DD.frexp(int[] exp) |
Convert this number x to fractional f and integral
2^exp components.
|
static DD |
DD.from(java.math.BigDecimal x) |
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 |
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 |
DD.multiply(int n) |
Repeated addition.
|
DD |
DD.multiply(DD y) |
Returns a DD whose value is this * y .
|
DD |
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 |
DD.one() |
Identity element.
|
DD |
DD.pow(int n) |
Compute this number (x, xx) raised to the power n .
|
DD |
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 .
|
DD |
DD.reciprocal() |
Compute the reciprocal of this .
|
private static DD |
DD.reciprocal(double y,
double yy) |
Compute the inverse of (y, yy) .
|
DD |
DD.scalb(int exp) |
Multiply this number (x, xx) by an integral power of two.
|
DD |
DD.sqrt() |
Compute the square root of this number (x, xx) .
|
DD |
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 |
DD.subtract(double y) |
Returns a DD whose value is (this - y) .
|
DD |
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 |
DD.zero() |
Identity element.
|