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.
|
DD |
DD.add(double y) |
Returns a DD whose value is (this + y) .
|
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.
|
DD |
DD.divide(double y) |
Returns a DD whose value is (this / y) .
|
DD |
DD.divide(DD y) |
Returns a DD whose value is (this / y) .
|
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.
|
DD |
DD.frexp(int[] exp) |
Convert this number x to fractional f and integral
2^exp components.
|
static DD |
DD.from(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) .
|
DD |
DD.multiply(double y) |
Returns a DD whose value is this * y .
|
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) .
|
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 .
|
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 .
|
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) .
|
DD |
DD.zero() |
Identity element.
|