A C D E F G I L M N O P Q R S T U Z

A

acos(dfp) - Static method in class rossi.dfp.dfpmath
 
add(dfp) - Method in class rossi.dfp.dfp
Add x to this and return the result
align(int) - Method in class rossi.dfp.dfp
Make our exp equal to the supplied one.
asin(dfp) - Static method in class rossi.dfp.dfpmath
 
atan(dfp) - Static method in class rossi.dfp.dfpmath
computes the arc tangent of the argument Uses the typical taylor series but may reduce arguments using the following identity tan(x+y) = (tan(x) + tan(y)) / (1 - tan(x)*tan(y)) since tan(PI/8) = sqrt(2)-1, atan(x) = atan( (x - sqrt(2) + 1) / (1+x*sqrt(2) - x) + PI/8.0
atanInternal(dfp) - Static method in class rossi.dfp.dfpmath
 

C

ceil() - Method in class rossi.dfp.dfp
Round to an integer using the ceil floor mode.
classify() - Method in class rossi.dfp.dfp
Returns the type - one of FINITE, INFINITE, SNAN, QNAN
clearIEEEFlags() - Static method in class rossi.dfp.dfp
Clears the IEEE 854 status flags
compare(dfp, dfp) - Static method in class rossi.dfp.dfp
compare a and b.
complement(int) - Method in class rossi.dfp.dfp
Negate the mantissa of this by computing the complement.
copysign(dfp, dfp) - Static method in class rossi.dfp.dfp
Creates a dfp that is the same as x except that it has the sign of y.
cos(dfp) - Static method in class rossi.dfp.dfpmath
computes the cosine of the argument
cosInternal(dfp[]) - Static method in class rossi.dfp.dfpmath
Computes cos(a) Used when 0 < a < pi/4.
create(byte, byte) - Static method in class rossi.dfp.dfp
Creates a dfp with a non-finite value

D

dfp - class rossi.dfp.dfp.
Decimal floating point library for Java Another floating point class.
dfp() - Constructor for class rossi.dfp.dfp
Default constructor.
dfp(dfp) - Constructor for class rossi.dfp.dfp
Copy constructor.
dfp(String) - Constructor for class rossi.dfp.dfp
Create a dfp given a String representation
dfp2sci(dfp) - Method in class rossi.dfp.dfp
 
dfp2string(dfp) - Method in class rossi.dfp.dfp
 
dfpcalc - class rossi.dfp.dfpcalc.
 
dfpcalc() - Constructor for class rossi.dfp.dfpcalc
 
dfpconstants - interface rossi.dfp.dfpconstants.
 
dfpdec - class rossi.dfp.dfpdec.
Subclass of dfp which hides the radix-10000 artifacts of the superclass.
dfpdec() - Constructor for class rossi.dfp.dfpdec
 
dfpdec(dfp) - Constructor for class rossi.dfp.dfpdec
 
dfpdec(String) - Constructor for class rossi.dfp.dfpdec
 
dfpmath - class rossi.dfp.dfpmath.
Mathematical routines and constants for use with dfp.
dfpmath() - Constructor for class rossi.dfp.dfpmath
 
DIGITS - Static variable in class rossi.dfp.dfp
The number of digits.
divide(dfp) - Method in class rossi.dfp.dfp
Divide this by divisor
divide(int) - Method in class rossi.dfp.dfp
Divide by a single digit less than radix.
dotrap(int, String, dfp, dfp) - Method in class rossi.dfp.dfp
Raises a trap.

E

E - Static variable in class rossi.dfp.dfpmath
E
E_SPLIT - Static variable in class rossi.dfp.dfpmath
E_SPLIT The number e split in two pieces
equal(dfp) - Method in class rossi.dfp.dfp
returns true if this is equal to x.
errScale - Static variable in class rossi.dfp.dfp
The amount under/overflows are scaled by before going to trap handler
exp - Variable in class rossi.dfp.dfp
 
exp(dfp) - Static method in class rossi.dfp.dfpmath
Computes e to the given power.
expInternal(dfp) - Static method in class rossi.dfp.dfpmath
Computes e to the given power.

F

FINITE - Static variable in class rossi.dfp.dfp
 
FLAG_DIV_ZERO - Static variable in class rossi.dfp.dfp
 
FLAG_INEXACT - Static variable in class rossi.dfp.dfp
 
FLAG_INVALID - Static variable in class rossi.dfp.dfp
 
FLAG_OVERFLOW - Static variable in class rossi.dfp.dfp
 
FLAG_UNDERFLOW - Static variable in class rossi.dfp.dfp
 
floor() - Method in class rossi.dfp.dfp
Round to an integer using the round floor mode.

G

getDecimalDigits() - Method in class rossi.dfp.dfpdec
Return the number of decimal digits this class is going to represent.
getIEEEFlags() - Static method in class rossi.dfp.dfp
Returns the IEEE 854 status flags
getRoundingMode() - Static method in class rossi.dfp.dfp
Returns the current rounding mode
greaterThan(dfp) - Method in class rossi.dfp.dfp
returns true if this is greater than x.

I

ieeeFlags - Static variable in class rossi.dfp.dfp
 
INFINITE - Static variable in class rossi.dfp.dfp
 
intValue() - Method in class rossi.dfp.dfp
Convert this to an integer.

L

lessThan(dfp) - Method in class rossi.dfp.dfp
returns true if this is less than x.
ln(dfp) - Static method in class rossi.dfp.dfpmath
Returns the natural logarithm of a.
LN10 - Static variable in class rossi.dfp.dfpmath
ln(10)
LN2 - Static variable in class rossi.dfp.dfpmath
ln(2)
LN2_SPLIT - Static variable in class rossi.dfp.dfpmath
LN2_SPLIT The number e split in two pieces
LN5 - Static variable in class rossi.dfp.dfpmath
ln(5)
LN5_SPLIT - Static variable in class rossi.dfp.dfpmath
LN5_SPLIT The number e split in two pieces
lnInternal(dfp[]) - Static method in class rossi.dfp.dfpmath
Computes the natural log of a number between 0 and 2
log10() - Method in class rossi.dfp.dfp
Return the exponent of the greatest power of 10 that is less than or equal to than abs(this).
log10K() - Method in class rossi.dfp.dfp
Returns the exponent of the greatest power of 10000 that is less than or equal to the absolute value of this.

M

main(String[]) - Static method in class rossi.dfp.dfpcalc
 
mant - Variable in class rossi.dfp.dfp
 
maxdigits - Static variable in class rossi.dfp.dfpdec
 
maxExp - Static variable in class rossi.dfp.dfp
The maximum exponent before overflow is signaled and results flushed to infinity
minExp - Static variable in class rossi.dfp.dfp
The minium exponent before underflow is signaled.
multiply(dfp) - Method in class rossi.dfp.dfp
Multiply this by x
multiply(int) - Method in class rossi.dfp.dfp
Multiply this by a single digit 0<=x<radix.

N

nans - Variable in class rossi.dfp.dfp
 
negate() - Method in class rossi.dfp.dfp
Returns a number that is this number with the sign bit reversed
newInstance() - Method in class rossi.dfp.dfpdec
 
newInstance(dfp) - Method in class rossi.dfp.dfp
Create a dfp.
newInstance(dfp) - Method in class rossi.dfp.dfpdec
 
newInstance(String) - Method in class rossi.dfp.dfp
Create a dfp.
newInstance(String) - Method in class rossi.dfp.dfpdec
 
nextAfter(dfp) - Method in class rossi.dfp.dfp
Returns the next number greater than this one in the direction of x.
nextAfter(dfp) - Method in class rossi.dfp.dfpdec
Returns the next number greater than this one in the direction of x.

O

one - Static variable in class rossi.dfp.dfp
 

P

PI - Static variable in class rossi.dfp.dfpmath
PI
PI_SPLIT - Static variable in class rossi.dfp.dfpmath
PI_SPLIT in 2 pieces
pow(dfp, dfp) - Static method in class rossi.dfp.dfpmath
Computes x to the y power.
pow(dfp, int) - Static method in class rossi.dfp.dfpmath
Raises base to the power a by successive squaring
power10(int) - Method in class rossi.dfp.dfp
Return the specified power of 10
power10K(int) - Method in class rossi.dfp.dfp
Return the specified power of 10000

Q

QNAN - Static variable in class rossi.dfp.dfp
 

R

radix - Static variable in class rossi.dfp.dfp
The radix, or base of this system.
remainder(dfp) - Method in class rossi.dfp.dfp
Returns the IEEE remainder.
rint() - Method in class rossi.dfp.dfp
Round to nearest integer using the round-half-even method.
rMode - Static variable in class rossi.dfp.dfp
 
rossi.dfp - package rossi.dfp
 
ROUND_CEIL - Static variable in class rossi.dfp.dfp
Rounds towards positive infinity
ROUND_DOWN - Static variable in class rossi.dfp.dfp
Rounds toward zero.
ROUND_FLOOR - Static variable in class rossi.dfp.dfp
Rounds towards negative infinity
ROUND_HALF_DOWN - Static variable in class rossi.dfp.dfp
Rounds towards nearest unless both are equidistant in which case it rounds toward zero
ROUND_HALF_EVEN - Static variable in class rossi.dfp.dfp
Rounds towards nearest unless both are equidistant in which case it rounds toward the even neighbor.
ROUND_HALF_ODD - Static variable in class rossi.dfp.dfp
Rounds towards nearest unless both are equidistant in which case it rounds toward the odd neighbor.
ROUND_HALF_UP - Static variable in class rossi.dfp.dfp
Rounds towards nearest unless both are equidistant in which case it rounds away from zero
ROUND_UP - Static variable in class rossi.dfp.dfp
Rounds away from zero if discarded digit is non-zero
round(int) - Method in class rossi.dfp.dfp
round this given the next digit n using the current rounding mode returns a flag if an exception occured
round(int) - Method in class rossi.dfp.dfpdec
round this given the next digit n using the current rounding mode returns a flag if an exception occured

S

setIEEEFlags(int) - Static method in class rossi.dfp.dfp
Sets the IEEE 854 status flags
setRoundingMode(int) - Static method in class rossi.dfp.dfp
Set the rounding mode to be one of the following values: ROUND_UP, ROUND_DOWN, ROUND_HALF_UP, ROUND_HALF_DOWN, ROUND_HALF_EVEN, ROUND_HALF_ODD, ROUND_CEIL, ROUND_FLOOR.
shiftLeft() - Method in class rossi.dfp.dfp
Shift the mantissa left, and adjust the exponent to compensate
shiftRight() - Method in class rossi.dfp.dfp
Shift the mantissa right, and adjust the exponent to compensate
sign - Variable in class rossi.dfp.dfp
 
sin(dfp) - Static method in class rossi.dfp.dfpmath
computes the sine of the argument
sinInternal(dfp[]) - Static method in class rossi.dfp.dfpmath
Computes sin(a) Used when 0 < a < pi/4.
SNAN - Static variable in class rossi.dfp.dfp
 
split(dfp) - Static method in class rossi.dfp.dfpmath
Splits a dfp into 2 dfp's such that their sum is equal to the input dfp
split(String) - Static method in class rossi.dfp.dfpmath
Breaks a string representation up into two dfp's such that the sum of them is equivilent to the input string, but has higher precision than using a single dfp.
splitDiv(dfp[], dfp[]) - Static method in class rossi.dfp.dfpmath
Divide two numbers that are split in to two pices that are meant to be added together.
splitMult(dfp[], dfp[]) - Static method in class rossi.dfp.dfpmath
Multiply two numbers that are split in to two pices that are meant to be added together.
splitPow(dfp[], int) - Static method in class rossi.dfp.dfpmath
Raise a split base to the a power.
SQR2 - Static variable in class rossi.dfp.dfpmath
sqrt(2)
SQR2_2 - Static variable in class rossi.dfp.dfpmath
sqrt(2)/2
SQR2_SPLIT - Static variable in class rossi.dfp.dfpmath
sqrt(2) in 2 pieces
SQR3 - Static variable in class rossi.dfp.dfpmath
sqrt(3)
SQR3_3 - Static variable in class rossi.dfp.dfpmath
sqrt(3)/3
sqrt() - Method in class rossi.dfp.dfp
 
STR_E - Static variable in interface rossi.dfp.dfpconstants
 
STR_LN10 - Static variable in interface rossi.dfp.dfpconstants
 
STR_LN2 - Static variable in interface rossi.dfp.dfpconstants
 
STR_LN5 - Static variable in interface rossi.dfp.dfpconstants
 
STR_PI - Static variable in interface rossi.dfp.dfpconstants
 
STR_SQR2 - Static variable in interface rossi.dfp.dfpconstants
 
STR_SQR2_2 - Static variable in interface rossi.dfp.dfpconstants
 
STR_SQR3 - Static variable in interface rossi.dfp.dfpconstants
 
STR_SQR3_3 - Static variable in interface rossi.dfp.dfpconstants
 
string2dfp(String) - Method in class rossi.dfp.dfp
 
subtract(dfp) - Method in class rossi.dfp.dfp
Subtract a from this

T

tan(dfp) - Static method in class rossi.dfp.dfpmath
computes the tangent of the argument
toString() - Method in class rossi.dfp.dfp
 
trap(int, String, dfp, dfp, dfp) - Method in class rossi.dfp.dfp
Trap handler.
trunc(int) - Method in class rossi.dfp.dfp
Does the integer conversions with the spec rounding.
two - Static variable in class rossi.dfp.dfp
 

U

unequal(dfp) - Method in class rossi.dfp.dfp
returns true if this is not equal to x.

Z

zero - Static variable in class rossi.dfp.dfp
 

A C D E F G I L M N O P Q R S T U Z