|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcoins.util.FloatConst
..............(..............).
...................................................................................................................................... ..........................................................2......................
..............IEEE 754..............(....................)............ .................................................................................................................... ..............................................
....(........................)..................................................................................................
......................................................(*....................)
| ...... | ...... | |
|---|---|---|
| 16.................. | 11* | 5 |
| ...... | 24* | 8 |
| ...... | 53* | 11 |
| x86.......... | 64 | 15 |
| 4...... | 113* | 15 |
| Nested Class Summary | |
static class |
FloatConst.RoundingMode
......................................... |
| Field Summary | |
static FloatConst |
F32_0
........0.0 |
static FloatConst |
F32_1
........1.0 |
static FloatConst |
F64_0
........0.0 |
static FloatConst |
F64_1
........1.0 |
static FloatConst.RoundingMode |
ROUND_MINUS
.......................... |
static FloatConst.RoundingMode |
ROUND_NEAREST
...................... |
static FloatConst.RoundingMode |
ROUND_PLUS
.......................... |
static FloatConst.RoundingMode |
ROUND_ZERO
.......................... |
| Method Summary | |
abstract FloatConst |
add(FloatConst c)
....this+c....................... |
abstract IntConst |
convfi(int size,
FloatConst.RoundingMode r)
..................................................................................... |
abstract FloatConst |
convft(int msize,
int esize)
................................................................................. |
abstract FloatConst |
convfx(int msize,
int esize)
................................................................................. |
abstract FloatConst |
div(FloatConst c)
....this/c....................... |
abstract double |
doubleValue()
....................double........... |
abstract boolean |
equals(java.lang.Object o)
................................................................. |
abstract int |
esize()
....................... |
abstract float |
floatValue()
....................float........... |
static FloatConst |
fromBigIntegerBits(int msize,
int esize,
java.math.BigInteger bits)
........................................................................................................(..................)................................................. |
static FloatConst |
fromExplicitBigIntegerBits(int msize,
int esize,
java.math.BigInteger bits)
........................................................................................................(..................)................................................. |
abstract int |
hashCode()
......................................... |
abstract int |
msize()
....................... |
abstract FloatConst |
mul(FloatConst c)
....this*c....................... |
abstract FloatConst |
neg()
....-this....................... |
abstract FloatConst |
sub(FloatConst c)
....this-c....................... |
abstract java.math.BigDecimal |
toBigDecimal()
....................BigDecimal............... |
abstract java.math.BigInteger |
toBigInteger(FloatConst.RoundingMode r)
............................................BigInteger............... |
abstract java.math.BigInteger |
toBigIntegerBits()
..................................................(..................)..............BigInteger............... |
abstract java.lang.String |
toDecimalString()
....................10................... |
abstract java.math.BigInteger |
toExplicitBigIntegerBits()
..................................................(..................)..............BigInteger............... |
abstract java.lang.String |
toString()
..................................... |
abstract IntConst |
tsteq(FloatConst c,
int size)
this==c......1................0....................................... |
abstract IntConst |
tstges(FloatConst c,
int size)
this>=c......1................0....................................... |
abstract IntConst |
tstgts(FloatConst c,
int size)
this>c......1................0....................................... |
abstract IntConst |
tstles(FloatConst c,
int size)
this<=c......1................0....................................... |
abstract IntConst |
tstlts(FloatConst c,
int size)
this<c......1................0....................................... |
abstract IntConst |
tstne(FloatConst c,
int size)
this!=c......1................0....................................... |
static FloatConst |
valueOf(int msize,
int esize,
java.math.BigDecimal val)
................................................(BigDecimal)........................... |
static FloatConst |
valueOf(int msize,
int esize,
java.math.BigInteger val)
................................................(bigInteger)........................... |
static FloatConst |
valueOf(int msize,
int esize,
double val)
................................................(double)........................... |
static FloatConst |
valueOf(int msize,
int esize,
long val)
................................................(long)........................... |
| Methods inherited from class java.lang.Object |
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
| Field Detail |
public static final FloatConst F32_0
public static final FloatConst F32_1
public static final FloatConst F64_0
public static final FloatConst F64_1
public static final FloatConst.RoundingMode ROUND_NEAREST
public static final FloatConst.RoundingMode ROUND_MINUS
public static final FloatConst.RoundingMode ROUND_PLUS
public static final FloatConst.RoundingMode ROUND_ZERO
| Method Detail |
public static FloatConst valueOf(int msize,
int esize,
double val)
IllegalArgumentException - ..................3..1073741823..............................2..30..............
public static FloatConst valueOf(int msize,
int esize,
java.math.BigDecimal val)
IllegalArgumentException - ..................3..1073741823..............................2..30..............
public static FloatConst valueOf(int msize,
int esize,
long val)
IllegalArgumentException - ..................3..1073741823..............................2..30..............
public static FloatConst valueOf(int msize,
int esize,
java.math.BigInteger val)
IllegalArgumentException - ..................3..1073741823..............................2..30..............
public static FloatConst fromBigIntegerBits(int msize,
int esize,
java.math.BigInteger bits)
IllegalArgumentException - ..................3..1073741823..............................2..30..............
public static FloatConst fromExplicitBigIntegerBits(int msize,
int esize,
java.math.BigInteger bits)
IllegalArgumentException - ..................3..1073741823..............................2..30..............public abstract int msize()
public abstract int esize()
public abstract FloatConst add(FloatConst c)
IllegalArgumentException - ..................................................................public abstract FloatConst sub(FloatConst c)
IllegalArgumentException - ..................................................................public abstract FloatConst mul(FloatConst c)
IllegalArgumentException - ..................................................................public abstract FloatConst div(FloatConst c)
IllegalArgumentException - ..................................................................public abstract FloatConst neg()
public abstract IntConst tsteq(FloatConst c,
int size)
IllegalArgumentException - ..................................................................
public abstract IntConst tstne(FloatConst c,
int size)
IllegalArgumentException - ..................................................................
public abstract IntConst tstlts(FloatConst c,
int size)
IllegalArgumentException - ..................................................................
public abstract IntConst tstgts(FloatConst c,
int size)
IllegalArgumentException - ..................................................................
public abstract IntConst tstles(FloatConst c,
int size)
IllegalArgumentException - ..................................................................
public abstract IntConst tstges(FloatConst c,
int size)
IllegalArgumentException - ..................................................................
public abstract FloatConst convfx(int msize,
int esize)
IllegalArgumentException - ..............................1073741823..............................................30..................
public abstract FloatConst convft(int msize,
int esize)
IllegalArgumentException - ..................3..............................................2..............................
public abstract IntConst convfi(int size,
FloatConst.RoundingMode r)
IllegalArgumentException - ................................NaN......public abstract float floatValue()
public abstract double doubleValue()
public abstract java.math.BigDecimal toBigDecimal()
public abstract java.math.BigInteger toBigInteger(FloatConst.RoundingMode r)
IllegalArgumentException - ................................NaN......public abstract java.math.BigInteger toBigIntegerBits()
public abstract java.math.BigInteger toExplicitBigIntegerBits()
public abstract boolean equals(java.lang.Object o)
public abstract int hashCode()
public abstract java.lang.String toString()
public abstract java.lang.String toDecimalString()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||