Real.java
v1.13
A B C D E F G H I L M N O P R S T X Z

A

abs() - Method in class ral.Real
Calculates the absolute value.
absLessThan(Real) - Method in class ral.Real
Returns true if the absolute value of this Real is less than the absolute value of a.
accumulateRandomness(long) - Static method in class ral.Real
Accumulate more randomness into the random number generator, to decrease the predictability of the output from Real.random().
acos() - Method in class ral.Real
Calculates the trigonometric arc cosine of this Real, in the range 0.0 to π.
acosh() - Method in class ral.Real
Calculates the hyperbolic arc cosine of this Real.
add(Real) - Method in class ral.Real
Calculates the sum of this Real and a.
add(int) - Method in class ral.Real
Calculates the sum of this Real and the integer a.
add128(long, Real, long) - Method in class ral.Real
Calculates the sum of this Real and a with extended precision.
align - Variable in class ral.Real.NumberFormat
The alignment of the output string within a field of maxwidth characters.
ALIGN_CENTER - Static variable in class ral.Real.NumberFormat
Center alignment
ALIGN_LEFT - Static variable in class ral.Real.NumberFormat
Left alignment
ALIGN_NONE - Static variable in class ral.Real.NumberFormat
No alignment
ALIGN_RIGHT - Static variable in class ral.Real.NumberFormat
Right alignment
and(Real) - Method in class ral.Real
Calculates the logical AND of this Real and a.
asin() - Method in class ral.Real
Calculates the trigonometric arc sine of this Real, in the range -π/2 to π/2.
asinh() - Method in class ral.Real
Calculates the hyperbolic arc sine of this Real.
assign(Real) - Method in class ral.Real
Assigns this Real the value of another Real.
assign(int) - Method in class ral.Real
Assigns this Real the value of an integer.
assign(long) - Method in class ral.Real
Assigns this Real the value of a signed long integer.
assign(String) - Method in class ral.Real
Assigns this Real a value encoded in a String using base-10, as specified in Real.assign(String,int).
assign(String, int) - Method in class ral.Real
Assigns this Real a value encoded in a String using the specified number base.
assign(int, int, long) - Method in class ral.Real
Assigns this Real a value by directly setting the fields of the internal representation.
assign(byte[], int) - Method in class ral.Real
Assigns this Real a value previously encoded into into twelve consecutive bytes in a byte array using toBytes.
assignDoubleBits(long) - Method in class ral.Real
Assigns this Real the value corresponding to a given bit representation.
assignFloatBits(int) - Method in class ral.Real
Assigns this Real the value corresponding to a given bit representation.
atan() - Method in class ral.Real
Calculates the trigonometric arc tangent of this Real, in the range -π/2 to π/2.
atan2(Real) - Method in class ral.Real
Calculates the trigonometric arc tangent of this Real divided by x, in the range -π to π.
atanh() - Method in class ral.Real
Calculates the hyperbolic arc tangent of this Real.

B

base - Variable in class ral.Real.NumberFormat
The number base of the conversion.
bic(Real) - Method in class ral.Real
Calculates the value of this Real AND NOT a.

C

cbrt() - Method in class ral.Real
Calculates the cube root of this Real.
ceil() - Method in class ral.Real
Calculates the smallest (closest to negative infinity) Real value that is greater than or equal to this Real and is equal to a mathematical integer.
copysign(Real) - Method in class ral.Real
Copies the sign from a.
cos() - Method in class ral.Real
Calculates the trigonometric cosine of this Real.
cosh() - Method in class ral.Real
Calculates the hyperbolic cosine of this Real.

D

date() - Method in class ral.Real
Assigns this Real the current date.
div(Real) - Method in class ral.Real
Calculates the quotient of this Real and a.
div(int) - Method in class ral.Real
Calculates the quotient of this Real and the integer a.
divf(Real) - Method in class ral.Real
Calculates the mathematical integer that is less than or equal to this Real divided by a.

E

E - Static variable in class ral.Real
A Real constant that is closer than any other to e, the base of the natural logarithms.
equals(Object) - Method in class ral.Real
Returns true if this Java object is the same object as a.
equalTo(Real) - Method in class ral.Real
Returns true if this Real is equal to a.
equalTo(int) - Method in class ral.Real
Returns true if this Real is equal to the integer a.
erfc() - Method in class ral.Real
Calculates the complementary error function for this Real.
exp() - Method in class ral.Real
Calculates e raised to the power of this Real.
exp10() - Method in class ral.Real
Calculates 10 raised to the power of this Real.
exp2() - Method in class ral.Real
Calculates 2 raised to the power of this Real.
exponent - Variable in class ral.Real
The exponent of a Real.

F

fact() - Method in class ral.Real
Calculates the factorial of this Real.
FIVE - Static variable in class ral.Real
A Real constant holding the exact value of 5.
floor() - Method in class ral.Real
Calculates the largest (closest to positive infinity) Real value that is less than or equal to this Real and is equal to a mathematical integer.
frac() - Method in class ral.Real
Calculates the fractional part of this Real by subtracting the closest value towards zero that is equal to a mathematical integer.
fromDHMS() - Method in class ral.Real
Converts this Real from "days, hours, minutes and seconds" to "hours".
fse - Variable in class ral.Real.NumberFormat
The special output formats FIX, SCI or ENG are enabled with this field.
FSE_ENG - Static variable in class ral.Real.NumberFormat
ENG output format
FSE_FIX - Static variable in class ral.Real.NumberFormat
FIX output format
FSE_NONE - Static variable in class ral.Real.NumberFormat
Normal output format
FSE_SCI - Static variable in class ral.Real.NumberFormat
SCI output format

G

gamma() - Method in class ral.Real
Calculates the gamma function for this Real.
greaterEqual(Real) - Method in class ral.Real
Returns true if this Real is greater than or equal to a.
greaterEqual(int) - Method in class ral.Real
Returns true if this Real is greater than or equal to the integer a.
greaterThan(Real) - Method in class ral.Real
Returns true if this Real is greater than a.
greaterThan(int) - Method in class ral.Real
Returns true if this Real is greater than the integer a.

H

HALF - Static variable in class ral.Real
A Real constant holding the exact value of 1/2.
hexChar - Static variable in class ral.Real
This string holds the only valid characters to use in hexadecimal numbers.
HUNDRED - Static variable in class ral.Real
A Real constant holding the exact value of 100.
hypot(Real) - Method in class ral.Real
Calculates sqrt(this*this+a*a).

I

INF - Static variable in class ral.Real
A Real constant holding the value of positive infinity.
INF_N - Static variable in class ral.Real
A Real constant holding the value of negative infinity.
inverfc() - Method in class ral.Real
Calculates the inverse complementary error function for this Real.
isFinite() - Method in class ral.Real
Returns true if the value of this Real is finite, false otherwise.
isFiniteNonZero() - Method in class ral.Real
Returns true if the value of this Real is finite and nonzero, false otherwise.
isInfinity() - Method in class ral.Real
Returns true if the value of this Real is infinite, false otherwise.
isIntegral() - Method in class ral.Real
Returns true if the value of this Real represents a mathematical integer.
isNan() - Method in class ral.Real
Returns true if the value of this Real is Not-a-Number (NaN), false otherwise.
isNegative() - Method in class ral.Real
Returns true if the value of this Real is negative, false otherwise.
isOdd() - Method in class ral.Real
Returns true if the mathematical integer represented by this Real is odd.
isZero() - Method in class ral.Real
Returns true if the value of this Real is zero, false otherwise.

L

lessEqual(Real) - Method in class ral.Real
Returns true if this Real is less than or equal to a.
lessEqual(int) - Method in class ral.Real
Returns true if this Real is less than or equal to the integer a.
lessThan(Real) - Method in class ral.Real
Returns true if this Real is less than a.
lessThan(int) - Method in class ral.Real
Returns true if this Real is less than the integer a.
ln() - Method in class ral.Real
Calculates the natural logarithm (base-e) of this Real.
LN10 - Static variable in class ral.Real
A Real constant that is closer than any other to the natural logarithm of 10.
LN2 - Static variable in class ral.Real
A Real constant that is closer than any other to the natural logarithm of 2.
log10() - Method in class ral.Real
Calculates the base-10 logarithm of this Real.
LOG10E - Static variable in class ral.Real
A Real constant that is closer than any other to the base-10 logarithm of e.
log2() - Method in class ral.Real
Calculates the base-2 logarithm of this Real.
LOG2E - Static variable in class ral.Real
A Real constant that is closer than any other to the base-2 logarithm of e.
lowPow10() - Method in class ral.Real
Calculates the closest power of 10 that is less than or equal to this Real.

M

magicRounding - Static variable in class ral.Real
Set to false during numerical algorithms to favor accuracy over prettyness.
makeInfinity(int) - Method in class ral.Real
Makes this Real the value of infinity with the specified sign.
makeNan() - Method in class ral.Real
Makes this Real the value of Not-a-Number (NaN).
makeZero() - Method in class ral.Real
Makes this Real the value of positive zero.
makeZero(int) - Method in class ral.Real
Makes this Real the value of zero with the specified sign.
mantissa - Variable in class ral.Real
The mantissa of a Real.
MAX - Static variable in class ral.Real
A Real constant holding the maximum non-infinite positive number = 4.197e323228496.
maxwidth - Variable in class ral.Real.NumberFormat
Maximum width of the converted string.
MIN - Static variable in class ral.Real
A Real constant holding the minimum non-zero positive number = 2.383e-323228497.
mod(Real) - Method in class ral.Real
Calculates the value of this Real modulo a.
mul(Real) - Method in class ral.Real
Calculates the product of this Real and a.
mul(int) - Method in class ral.Real
Calculates the product of this Real and the integer a.
mul128(long, Real, long) - Method in class ral.Real
Calculates the product of this Real and a with extended precision.

N

NAN - Static variable in class ral.Real
A Real constant holding the value of NaN (not-a-number).
neg() - Method in class ral.Real
Negates this Real.
nextafter(Real) - Method in class ral.Real
Calculates the next representable neighbour of this Real in the direction towards a.
normalize() - Method in class ral.Real
Readjusts the mantissa of this Real.
normalize128(long) - Method in class ral.Real
Readjusts the mantissa of a Real with extended precision.
notEqualTo(Real) - Method in class ral.Real
Returns true if this Real is not equal to a.
notEqualTo(int) - Method in class ral.Real
Returns true if this Real is not equal to the integer a.
nroot(Real) - Method in class ral.Real
Calculates the n'th root of this Real.

O

ONE - Static variable in class ral.Real
A Real constant holding the exact value of 1.
ONE_N - Static variable in class ral.Real
A Real constant holding the exact value of -1.
or(Real) - Method in class ral.Real
Calculates the logical OR of this Real and a.

P

PERCENT - Static variable in class ral.Real
A Real constant that is closer than any other to 1/100.
PI - Static variable in class ral.Real
A Real constant that is closer than any other to π, the ratio of the circumference of a circle to its diameter.
PI2 - Static variable in class ral.Real
A Real constant that is closer than any other to 2π.
PI_2 - Static variable in class ral.Real
A Real constant that is closer than any other to π/2.
PI_4 - Static variable in class ral.Real
A Real constant that is closer than any other to π/4.
PI_8 - Static variable in class ral.Real
A Real constant that is closer than any other to π/8.
point - Variable in class ral.Real.NumberFormat
The character used as the radix point.
pow(Real) - Method in class ral.Real
Calculates the value of this Real raised to the power of a.
pow(int) - Method in class ral.Real
Calculates the value of this Real raised to the power of the integer a.
precision - Variable in class ral.Real.NumberFormat
The precision, or number of digits after the radix point in the converted string when using the FIX, SCI or ENG format (see fse).

R

ral - package ral
 
random() - Method in class ral.Real
Calculates a pseudorandom number in the range [0, 1).
randSeedA - Static variable in class ral.Real
The seed of the first 64-bit CRC generator of the random routine.
randSeedB - Static variable in class ral.Real
The seed of the second 64-bit CRC generator of the random routine.
rdiv(Real) - Method in class ral.Real
Calculates the quotient of a and this Real.
rdiv(int) - Method in class ral.Real
Calculates the quotient of the integer a and this Real.
Real - Class in ral
Java integer implementation of 63-bit precision floating point.
Version 1.13
Real() - Constructor for class ral.Real
Creates a new Real with a value of zero.
Real(Real) - Constructor for class ral.Real
Creates a new Real, assigning the value of another Real.
Real(int) - Constructor for class ral.Real
Creates a new Real, assigning the value of an integer.
Real(long) - Constructor for class ral.Real
Creates a new Real, assigning the value of a long integer.
Real(String) - Constructor for class ral.Real
Creates a new Real, assigning the value encoded in a String using base-10.
Real(String, int) - Constructor for class ral.Real
Creates a new Real, assigning the value encoded in a String using the specified number base.
Real(int, int, long) - Constructor for class ral.Real
Creates a new Real, assigning a value by directly setting the fields of the internal representation.
Real(byte[], int) - Constructor for class ral.Real
Creates a new Real, assigning the value previously encoded into twelve consecutive bytes in a byte array using toBytes.
Real.NumberFormat - Class in ral
The number format used to convert Real values to String using Real.toString().
Real.NumberFormat() - Constructor for class ral.Real.NumberFormat
 
recip() - Method in class ral.Real
Calculates the reciprocal of this Real.
recip128(long) - Method in class ral.Real
Calculates the reciprocal of this Real with extended precision.
removePoint - Variable in class ral.Real.NumberFormat
Set to true to remove the radix point if this is the last character in the converted string.
round() - Method in class ral.Real
Rounds this Real value to the closest value that is equal to a mathematical integer.
roundFrom128(long) - Method in class ral.Real
Rounds an extended precision Real to the nearest Real of normal precision.
rsqrt() - Method in class ral.Real
Calculates the reciprocal square root of this Real.

S

scalbn(int) - Method in class ral.Real
Multiplies this Real by 2 to the power of n.
sign - Variable in class ral.Real
The sign of a Real.
sin() - Method in class ral.Real
Calculates the trigonometric sine of this Real.
sinh() - Method in class ral.Real
Calculates the hyperbolic sine of this Real.
sqr() - Method in class ral.Real
Calculates the square of this Real.
sqrt() - Method in class ral.Real
Calculates the square root of this Real.
SQRT1_2 - Static variable in class ral.Real
A Real constant that is closer than any other to the square root of 1/2.
SQRT2 - Static variable in class ral.Real
A Real constant that is closer than any other to the square root of 2.
sub(Real) - Method in class ral.Real
Calculates the difference between this Real and a.
sub(int) - Method in class ral.Real
Calculates the difference between this Real and the integer a.
swap(Real) - Method in class ral.Real
Exchanges the contents of this Real and a.

T

tan() - Method in class ral.Real
Calculates the trigonometric tangent of this Real.
tanh() - Method in class ral.Real
Calculates the hyperbolic tangent of this Real.
TEN - Static variable in class ral.Real
A Real constant holding the exact value of 10.
TENTH - Static variable in class ral.Real
A Real constant that is closer than any other to 1/10.
THIRD - Static variable in class ral.Real
A Real constant that is closer than any other to 1/3.
thousand - Variable in class ral.Real.NumberFormat
The character used as the thousands separator.
THREE - Static variable in class ral.Real
A Real constant holding the exact value of 3.
time() - Method in class ral.Real
Assigns this Real the current time.
toBytes(byte[], int) - Method in class ral.Real
Encodes an accurate representation of this Real value into twelve consecutive bytes in a byte array.
toDHMS() - Method in class ral.Real
Converts this Real from "hours" to "days, hours, minutes and seconds".
toDoubleBits() - Method in class ral.Real
Returns a representation of this Real according to the IEEE 754 floating-point "double format" bit layout.
toFloatBits() - Method in class ral.Real
Returns a representation of this Real according to the IEEE 754 floating-point "single format" bit layout.
toInteger() - Method in class ral.Real
Converts this Real value to the closest int value towards zero.
toLong() - Method in class ral.Real
Converts this Real value to the closest long value towards zero.
toString() - Method in class ral.Real
Converts this Real to a String using the default NumberFormat.
toString(int) - Method in class ral.Real
Converts this Real to a String using the default NumberFormat with base set according to the argument.
toString(Real.NumberFormat) - Method in class ral.Real
Converts this Real to a String using the given NumberFormat.
trunc() - Method in class ral.Real
Truncates this Real value to the closest value towards zero that is equal to a mathematical integer.
TWO - Static variable in class ral.Real
A Real constant holding the exact value of 2.

X

xor(Real) - Method in class ral.Real
Calculates the logical XOR of this Real and a.

Z

ZERO - Static variable in class ral.Real
A Real constant holding the exact value of 0.
ZERO_N - Static variable in class ral.Real
A Real constant holding the value of negative zero.

A B C D E F G H I L M N O P R S T X Z
Real.java
v1.13

Copyright 2003-2009 Roar Lauritzsen