diff --git a/pom.xml b/pom.xml
index a76485b..c96b223 100644
--- a/pom.xml
+++ b/pom.xml
@@ -6,7 +6,7 @@
@@ -1746,6 +1745,15 @@ public Quadruple negate() {
return this;
} // public Quadruple negate() {
+ /**
+ * Returns a new instance of {@code Quadruple} with the value of the absolute value of this instance
+ * @return a new instance of {@code Quadruple} with the value of the absolute value of this instance
+ */
+ public Quadruple abs() {
+ return new Quadruple(exponent, mantHi, mantLo);
+ } // public Quadruple abs() {
+
+
/**
* Returns 1 for positive values, -1 for negative values (including -0), and 0 for the positive zero value
* @return 1 for positive values, -1 for negative values (including -0), and 0 for the positive zero value
diff --git a/src/main/javadoc/com/mvohm/quadruple/Quadruple.html b/src/main/javadoc/com/mvohm/quadruple/Quadruple.html
index b626294..9608853 100644
--- a/src/main/javadoc/com/mvohm/quadruple/Quadruple.html
+++ b/src/main/javadoc/com/mvohm/quadruple/Quadruple.html
@@ -2,9 +2,9 @@
Quadruple
abs()
+Quadruple
with the value of the absolute value of this instanceQuadruple
add(double summand)
double
summand to the value of this Quadruple.Quadruple
add(long summand)
long
summand to the value of this Quadruple.Quadruple
add(Quadruple summand)
Quadruple
summand to the value of this Quadruple.static Quadruple
add(Quadruple op1,
double op2)
@@ -411,7 +417,7 @@ static Quadruple
add(Quadruple op1,
long op2)
@@ -419,7 +425,7 @@ static Quadruple
add(Quadruple op1,
Quadruple op2)
@@ -427,13 +433,13 @@ Quadruple
assign(BigDecimal value)
Quadruple
, and assigns it to the instance.Quadruple
assign(boolean negative,
int exponent,
@@ -442,13 +448,13 @@ Method Summary
Builds a Quadruple value from the given low-level parts and assigns it to the instance.
Quadruple
assign(double value)
Quadruple
assign(int exponent,
long mantHi,
@@ -456,26 +462,26 @@ Method Summary
Builds a non-negative Quadruple value from the given low-level parts and assigns it to the instance.
Quadruple
assign(long value)
Quadruple
assign(long[] value)
long
.Quadruple
assign(Quadruple qValue)
Quadruple
assign(String source)
Quadruple
assignIeee754(byte[] value)
byte
s containing the 128 bits of the IEEE-754 quadruple to the given instance.Quadruple
assignIeee754(long[] value)
long
s containing the 128 bits of the IEEE-754 quadruple to the given instance.Quadruple
assignMax(Quadruple other)
this
instance and the operand.Quadruple
assignMin(Quadruple other)
this
instance and the operand.Quadruple
assignNaN()
NaN
) to this instance.Quadruple
assignNegativeInfinity()
-Infinity
to this instance.Quadruple
assignPositiveInfinity()
+Infinity
to this instance.Quadruple
assignWithUnbiasedExponent(boolean negative,
int exponent,
@@ -538,7 +544,7 @@ Method Summary
Builds a Quadruple value from the given low-level parts and assigns it to the instance.
Quadruple
assignWithUnbiasedExponent(int exponent,
long mantHi,
@@ -546,71 +552,71 @@ Method Summary
Builds a non-negative Quadruple value from the given low-level parts and assigns it to the instance.
BigDecimal
bigDecimalValue()
BigDecimal
instance holding the same value as the given Quadruple
(rounded to 100 significant decimal digits).static int
compare(Quadruple q1,
Quadruple q2)
static int
compareMagnitudes(Quadruple q1,
Quadruple q2)
int
compareMagnitudeTo(Quadruple other)
int
compareTo(double other)
double
value.int
compareTo(long other)
long
value.int
compareTo(Quadruple other)
Quadruple
divide(double divisor)
double
divisor.Quadruple
divide(long divisor)
long
divisor.Quadruple
divide(Quadruple divisor)
Quadruple
divisor.static Quadruple
divide(Quadruple dividend,
double divisor)
@@ -618,7 +624,7 @@ static Quadruple
divide(Quadruple dividend,
long divisor)
@@ -626,7 +632,7 @@ static Quadruple
divide(Quadruple dividend,
Quadruple divisor)
@@ -634,98 +640,98 @@ double
doubleValue()
Quadruple
to a double
value in a way
similar to standard narrowing conversions (e.g., from double
to float
).boolean
equals(Object obj)
Quadruple
is equal to this one.int
exponent()
[1.0 .. 2.0)
, 0x8000_0000 for [2.0 .. 4.0)
etc.float
floatValue()
Quadruple
to a float
value in a way
similar to standard narrowing conversions (e.g., from double
to float
).String
format(String format)
String
representing the value
of this instance in a form defined by the format
parameter.int
hashCode()
Quadruple
,
based on the values of its fields.int
intValue()
Quadruple
to an int
value in a way
similar to standard narrowing conversions (e.g., from double
to int
).boolean
isInfinite()
NEGATIVE_INFINITY
or POSITIVE_INFINITY
).boolean
isNaN()
NaN
).boolean
isNegative()
boolean
isZero()
long
longValue()
Quadruple
to a long
value in a way
similar to standard narrowing conversions (e.g., from double
to long
).long
mantHi()
long
mantLo()
static Quadruple
max(Quadruple q1,
Quadruple q2)
@@ -733,14 +739,14 @@ static Quadruple
maxValue()
Quadruple
instance with the value of MAX_VALUE
2^2147483647 * (2 - 2^-128)
= 1.76161305168396335320749314979184028566452310e+646456993)static Quadruple
min(Quadruple q1,
Quadruple q2)
@@ -748,39 +754,39 @@ static Quadruple
minNormal()
Quadruple
instance with the value of MIN_NORMAL
2^-2147483646
= 2.27064621040149253752656726517958758124747730e-646456993)static Quadruple
minValue()
Quadruple
instance with the value of MIN_VALUE
2^-2147483774
= 6.67282948260747430814835377499134611597699952e-646457032)Quadruple
multiply(double factor)
double
factor.Quadruple
multiply(long factor)
long
factor.Quadruple
multiply(Quadruple factor)
Quadruple
factor.static Quadruple
multiply(Quadruple factor1,
double factor2)
@@ -788,7 +794,7 @@ static Quadruple
multiply(Quadruple factor1,
long factor2)
@@ -796,7 +802,7 @@ static Quadruple
multiply(Quadruple factor1,
Quadruple factor2)
@@ -804,96 +810,96 @@ static Quadruple
nan()
Quadruple
instance with the value of NaN
.Quadruple
negate()
static Quadruple
negativeInfinity()
Quadruple
instance with the value of -Infinity
.static Quadruple
nextRandom()
java.util.Random
instance.static Quadruple
nextRandom(Random rand)
java.util.Random
instance.static Quadruple
one()
Quadruple
instance with the value of 1.0.static Quadruple
pi()
Quadruple
instance with the value of the number π
(pi)
(3.141592653589793238462643383279502884195)static Quadruple
positiveInfinity()
Quadruple
instance with the value of +Infinity
.int
signum()
Quadruple
sqrt()
Quadruple
and replaces the old value of this instance with the newly-computed value.static Quadruple
sqrt(Quadruple square)
Quadruple
,
creates and returns a new instance of Quadruple containing the value of the square root.Quadruple
subtract(double subtrahend)
double
subtrahend from the value of this Quadruple.Quadruple
subtract(long subtrahend)
long
subtrahend from the value of this Quadruple.Quadruple
subtract(Quadruple subtrahend)
Quadruple
subtrahend from the value of this Quadruple.static Quadruple
subtract(Quadruple minuend,
double subtrahend)
@@ -901,7 +907,7 @@ static Quadruple
subtract(Quadruple minuend,
long subtrahend)
@@ -909,7 +915,7 @@ static Quadruple
subtract(Quadruple minuend,
Quadruple subtrahend)
@@ -917,13 +923,13 @@ static Quadruple
ten()
Quadruple
instance with the value of 10.0.String
toHexString()
String
containing a hexadecimal representation
@@ -931,7 +937,7 @@ byte[]
toIeee754Bytes()
long[]
toIeee754Longs()
long[]
toLongWords()
long
s.String
toString()
Quadruple
in a scientific (exponential) notation, rounded to 43 digits after point.static Quadruple
two()
Quadruple
instance with the value of 2.0.int
unbiasedExponent()
public Quadruple abs()+
Quadruple
with the value of the absolute value of this instanceQuadruple
with the value of the absolute value of this instanceQuadruple
with the value of the absolute value of this instanceQuadruple
with the value of the absolute value of this instanceQuadruple
summand to the value of this Quadruple.