public class CSoftFloat
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
static char |
FLAG_DIVBYZERO
Division by zero exception flag.
|
static char |
FLAG_INEXACT
Inexact exception flag.
|
static char |
FLAG_INVALID
Invalid operation exception flag.
|
static char |
FLAG_OVERFLOW
Overflow exception flag.
|
static char |
FLAG_UNDERFLOW
Underflow exception flag.
|
static char |
ROUND_DOWN
Rounding towards negative infinity.
|
static char |
ROUND_NEAREST_EVEN
Rounding to nearest.
|
static char |
ROUND_TO_ZERO
Rounding towards zero.
|
static char |
ROUND_UP
Rounding towards positive infinity.
|
static char |
TININESS_AFTER_ROUNDING
Underflow tininess-detection mode: after rounding.
|
static char |
TININESS_BEFORE_ROUNDING
Underflow tininess-detection mode: before rounding.
|
Constructor and Description |
---|
CSoftFloat() |
Modifier and Type | Method and Description |
---|---|
static double |
double_add(double arg0,
double arg1)
Wrapper method for
float64_add() double-precision operation. |
static double |
double_div(double arg0,
double arg1)
Wrapper method for
float64_div() double-precision operation. |
static boolean |
double_eq_signaling(double arg0,
double arg1)
Wrapper method for
float64_eq_signaling() double-precision operation. |
static boolean |
double_eq(double arg0,
double arg1)
Wrapper method for
float64_eq() double-precision operation. |
static boolean |
double_is_signaling_nan(double arg0)
Wrapper method for
float64_is_signaling_nan() single-precision operation. |
static boolean |
double_le_quiet(double arg0,
double arg1)
Wrapper method for
float64_le_quiet() double-precision operation. |
static boolean |
double_le(double arg0,
double arg1)
Wrapper method for
float64_le() double-precision operation. |
static boolean |
double_lt_quiet(double arg0,
double arg1)
Wrapper method for
float64_lt_quiet() double-precision operation. |
static boolean |
double_lt(double arg0,
double arg1)
Wrapper method for
float64_lt() double-precision operation. |
static double |
double_mul(double arg0,
double arg1)
Wrapper method for
float64_mul() double-precision operation. |
static void |
double_mul64To128(double arg0,
double arg1,
long arg2,
long arg3) |
static double |
double_rem(double arg0,
double arg1)
Wrapper method for
float64_rem() double-precision operation. |
static double |
double_round_to_int(double arg0)
Wrapper method for
float64_round_to_int() double-precision operation. |
static double |
double_sqrt(double arg0)
Wrapper method for
float64_sqrt() double-precision operation. |
static double |
double_sub(double arg0,
double arg1)
Wrapper method for
float64_sub() double-precision operation. |
static float |
double_to_float(double arg0)
Wrapper method for
float64_to_float32() double-precision conversion operation. |
static int |
double_to_int_round_to_zero(double arg0)
Wrapper method for
float64_to_int32_round_to_zero() double-precision conversion
operation. |
static int |
double_to_int(double arg0)
Wrapper method for
float64_to_int32() double-precision conversion operation. |
static long |
double_to_long_round_to_zero(double arg0)
Wrapper method for
float64_to_int64_round_to_zero() double-precision conversion
operation. |
static long |
double_to_long(double arg0)
Wrapper method for
float64_to_int64() double-precision conversion operation. |
static float |
float_add(float arg0,
float arg1)
Wrapper method for
float32_add() single-precision operation. |
static float |
float_div(float arg0,
float arg1)
Wrapper method for
float32_div() single-precision operation. |
static boolean |
float_eq_signaling(float arg0,
float arg1)
Wrapper method for
float32_eq_signaling() single-precision operation. |
static boolean |
float_eq(float arg0,
float arg1)
Wrapper method for
float32_sqrt() single-precision operation. |
static boolean |
float_is_signaling_nan(float arg0)
Wrapper method for
float32_is_signaling_nan() single-precision operation. |
static boolean |
float_le_quiet(float arg0,
float arg1)
Wrapper method for
float32_le_quiet() single-precision operation. |
static boolean |
float_le(float arg0,
float arg1)
Wrapper method for
float32_le() single-precision operation. |
static boolean |
float_lt_quiet(float arg0,
float arg1)
Wrapper method for
float32_lt_quiet() single-precision operation. |
static boolean |
float_lt(float arg0,
float arg1)
Wrapper method for
float32_lt() single-precision operation. |
static float |
float_mul(float arg0,
float arg1)
Wrapper method for
float32_mul() single-precision operation. |
static float |
float_rem(float arg0,
float arg1)
Wrapper method for
float32_rem() single-precision operation. |
static float |
float_round_to_int(float arg0)
Wrapper method for
float32_round_to_int() single-precision operation. |
static float |
float_sqrt(float arg0)
Wrapper method for
float32_sqrt() single-precision operation. |
static float |
float_sub(float arg0,
float arg1)
Wrapper method for
float32_sub() single-precision operation. |
static double |
float_to_double(float arg0)
Wrapper method for
float32_to_float64() conversion routine. |
static int |
float_to_int_round_to_zero(float arg0)
Wrapper method for
float32_to_int32_round_to_zero() conversion routine. |
static int |
float_to_int(float arg0)
Wrapper method for
float32_to_int32() conversion routine. |
static long |
float_to_long_round_to_zero(float arg0)
Wrapper method for
float32_to_int64_round_to_zero() conversion routine. |
static long |
float_to_long(float arg0)
Wrapper method for
float32_to_int64() conversion routine. |
static Float128 |
float128_add_c(Float128 arg0,
Float128 arg1) |
static Float128 |
float128_add(Float128 arg0,
Float128 arg1) |
static Float128 |
float128_div_c(Float128 arg0,
Float128 arg1) |
static Float128 |
float128_div(Float128 arg0,
Float128 arg1) |
static boolean |
float128_eq_c(Float128 arg0,
Float128 arg1) |
static boolean |
float128_eq_signaling_c(Float128 arg0,
Float128 arg1) |
static boolean |
float128_eq_signaling(Float128 arg0,
Float128 arg1) |
static boolean |
float128_eq(Float128 arg0,
Float128 arg1) |
static boolean |
float128_is_signaling_nan_c(Float128 arg0) |
static boolean |
float128_is_signaling_nan(Float128 arg0) |
static boolean |
float128_le_c(Float128 arg0,
Float128 arg1) |
static boolean |
float128_le_quiet_c(Float128 arg0,
Float128 arg1) |
static boolean |
float128_le_quiet(Float128 arg0,
Float128 arg1) |
static boolean |
float128_le(Float128 arg0,
Float128 arg1) |
static boolean |
float128_lt_c(Float128 arg0,
Float128 arg1) |
static boolean |
float128_lt_quiet_c(Float128 arg0,
Float128 arg1) |
static boolean |
float128_lt_quiet(Float128 arg0,
Float128 arg1) |
static boolean |
float128_lt(Float128 arg0,
Float128 arg1) |
static Float128 |
float128_mul_c(Float128 arg0,
Float128 arg1) |
static Float128 |
float128_mul(Float128 arg0,
Float128 arg1) |
static Float128 |
float128_rem_c(Float128 arg0,
Float128 arg1) |
static Float128 |
float128_rem(Float128 arg0,
Float128 arg1) |
static Float128 |
float128_round_to_int_c(Float128 arg0) |
static Float128 |
float128_round_to_int(Float128 arg0) |
static Float128 |
float128_sqrt_c(Float128 arg0) |
static Float128 |
float128_sqrt(Float128 arg0) |
static Float128 |
float128_sub_c(Float128 arg0,
Float128 arg1) |
static Float128 |
float128_sub(Float128 arg0,
Float128 arg1) |
static double |
float128_to_double(Float128 arg0) |
static float |
float128_to_float(Float128 arg0) |
static int |
float128_to_float32(Float128 arg0) |
static long |
float128_to_float64(Float128 arg0) |
static FloatX80 |
float128_to_floatx80_c(Float128 arg0) |
static FloatX80 |
float128_to_floatx80(Float128 arg0) |
static int |
float128_to_int_round_to_zero(Float128 arg0) |
static int |
float128_to_int(Float128 arg0) |
static int |
float128_to_int32_round_to_zero(Float128 arg0) |
static int |
float128_to_int32(Float128 arg0) |
static long |
float128_to_int64_round_to_zero(Float128 arg0) |
static long |
float128_to_int64(Float128 arg0) |
static long |
float128_to_long_round_to_zero(Float128 arg0) |
static long |
float128_to_long(Float128 arg0) |
static int |
float32_add(int arg0,
int arg1)
Single-precision add operation.
|
static int |
float32_div(int arg0,
int arg1)
Single-precision div operation.
|
static char |
float32_eq_signaling(int arg0,
int arg1)
Single-precision eq operation.
|
static char |
float32_eq(int arg0,
int arg1)
Single-precision eq operation.
|
static char |
float32_is_signaling_nan(int arg0)
Method test whether a floating-point value is a signaling NaN.
|
static char |
float32_le_quiet(int arg0,
int arg1)
Single-precision le operation.
|
static char |
float32_le(int arg0,
int arg1)
Single-precision le operation.
|
static char |
float32_lt_quiet(int arg0,
int arg1)
Single-precision lt operation.
|
static char |
float32_lt(int arg0,
int arg1)
Single-precision lt operation.
|
static int |
float32_mul(int arg0,
int arg1)
Single-precision mul operation.
|
static int |
float32_rem(int arg0,
int arg1)
Single-precision rem operation.
|
static int |
float32_round_to_int(int arg0)
Rounds the single-precision floating-point value
arg0 to an integer. |
static int |
float32_sqrt(int arg0)
Single-precision sqrt operation.
|
static int |
float32_sub(int arg0,
int arg1)
Single-precision sub operation.
|
static long |
float32_to_float64(int arg0)
Single-precision-to-double-precision with rounding to zero conversion routine.
|
static int |
float32_to_int32_round_to_zero(int arg0)
Single-precision-to-integer with rounding to zero conversion routine.
|
static int |
float32_to_int32(int arg0)
Single-precision-to-integer conversion routine.
|
static long |
float32_to_int64_round_to_zero(int arg0)
Single-precision-to-integer with rounding to zero conversion routine.
|
static long |
float32_to_int64(int arg0)
Single-precision-to-integer conversion routine.
|
static long |
float64_add(long arg0,
long arg1)
Double-precision add operation.
|
static long |
float64_div(long arg0,
long arg1)
Double-precision div operation.
|
static char |
float64_eq_signaling(long arg0,
long arg1)
Double-precision eq operation.
|
static char |
float64_eq(long arg0,
long arg1)
Double-precision eq operation.
|
static char |
float64_is_signaling_nan(long arg0)
Method test whether a double-precision value is a signaling NaN.
|
static char |
float64_le_quiet(long arg0,
long arg1)
Double-precision le operation.
|
static char |
float64_le(long arg0,
long arg1)
Double-precision le operation.
|
static char |
float64_lt_quiet(long arg0,
long arg1)
Double-precision lt operation.
|
static char |
float64_lt(long arg0,
long arg1)
Double-precision lt operation.
|
static long |
float64_mul(long arg0,
long arg1)
Double-precision mul operation.
|
static long |
float64_rem(long arg0,
long arg1)
Double-precision rem operation.
|
static long |
float64_round_to_int(long arg0)
Rounds the double-precision floating-point value
arg0 to an integer. |
static long |
float64_sqrt(long arg0)
Double-precision sqrt operation.
|
static long |
float64_sub(long arg0,
long arg1)
Double-precision sub operation.
|
static int |
float64_to_float32(long arg0)
Double-precision-to-single-precision conversion routine.
|
static int |
float64_to_int32_round_to_zero(long arg0)
Double-precision-to-integer conversion routine.
|
static int |
float64_to_int32(long arg0)
Double-precision-to-integer conversion routine.
|
static long |
float64_to_int64_round_to_zero(long arg0)
Double-precision-to-integer conversion routine.
|
static long |
float64_to_int64(long arg0)
Double-precision-to-integer conversion routine.
|
static FloatX80 |
floatx80_add_c(FloatX80 arg0,
FloatX80 arg1) |
static FloatX80 |
floatx80_add(FloatX80 arg0,
FloatX80 arg1) |
static FloatX80 |
floatx80_div_c(FloatX80 arg0,
FloatX80 arg1) |
static FloatX80 |
floatx80_div(FloatX80 arg0,
FloatX80 arg1) |
static boolean |
floatx80_eq_c(FloatX80 arg0,
FloatX80 arg1) |
static boolean |
floatx80_eq_signaling_c(FloatX80 arg0,
FloatX80 arg1) |
static char |
floatx80_eq_signaling(FloatX80 arg0,
FloatX80 arg1) |
static char |
floatx80_eq(FloatX80 arg0,
FloatX80 arg1) |
static boolean |
floatx80_is_signaling_nan_c(FloatX80 arg0) |
static char |
floatx80_is_signaling_nan(FloatX80 arg0) |
static boolean |
floatx80_le_c(FloatX80 arg0,
FloatX80 arg1) |
static boolean |
floatx80_le_quiet_c(FloatX80 arg0,
FloatX80 arg1) |
static char |
floatx80_le_quiet(FloatX80 arg0,
FloatX80 arg1) |
static char |
floatx80_le(FloatX80 arg0,
FloatX80 arg1) |
static boolean |
floatx80_lt_c(FloatX80 arg0,
FloatX80 arg1) |
static boolean |
floatx80_lt_quiet_c(FloatX80 arg0,
FloatX80 arg1) |
static char |
floatx80_lt_quiet(FloatX80 arg0,
FloatX80 arg1) |
static char |
floatx80_lt(FloatX80 arg0,
FloatX80 arg1) |
static FloatX80 |
floatx80_mul_c(FloatX80 arg0,
FloatX80 arg1) |
static FloatX80 |
floatx80_mul(FloatX80 arg0,
FloatX80 arg1) |
static FloatX80 |
floatx80_rem_c(FloatX80 arg0,
FloatX80 arg1) |
static FloatX80 |
floatx80_rem(FloatX80 arg0,
FloatX80 arg1) |
static FloatX80 |
floatx80_round_to_int_c(FloatX80 arg0) |
static FloatX80 |
floatx80_round_to_int(FloatX80 arg0) |
static FloatX80 |
floatx80_sqrt_c(FloatX80 arg0) |
static FloatX80 |
floatx80_sqrt(FloatX80 arg0) |
static FloatX80 |
floatx80_sub_c(FloatX80 arg0,
FloatX80 arg1) |
static FloatX80 |
floatx80_sub(FloatX80 arg0,
FloatX80 arg1) |
static double |
floatx80_to_double(FloatX80 arg0) |
static float |
floatx80_to_float(FloatX80 arg0) |
static Float128 |
floatx80_to_float128_c(FloatX80 arg0) |
static Float128 |
floatx80_to_float128(FloatX80 arg0) |
static int |
floatx80_to_float32(FloatX80 arg0) |
static long |
floatx80_to_float64(FloatX80 arg0) |
static int |
floatx80_to_int_round_to_zero(FloatX80 arg0) |
static int |
floatx80_to_int(FloatX80 arg0) |
static int |
floatx80_to_int32_round_to_zero(FloatX80 arg0)
Returns the result of converting the extended double-precision floating- point value `a' to the
32-bit two's complement integer format.
|
static int |
floatx80_to_int32(FloatX80 arg0)
Method converting the extended double-precision floating-point value to the 32-bit two's
complement integer format.
|
static long |
floatx80_to_int64_round_to_zero(FloatX80 arg0) |
static long |
floatx80_to_int64(FloatX80 arg0) |
static long |
floatx80_to_long_round_to_zero(FloatX80 arg0) |
static long |
floatx80_to_long(FloatX80 arg0) |
static char |
get_float_detect_tininess()
Get underflow tininess-detection mode.
|
static char |
get_float_exception_flags()
Get floating-point exception flags.
|
static char |
get_floating_rounding_mode()
Get floating-point rounding mode.
|
static double |
int_to_double(int arg0)
Wrapper method for
int32_to_float64() conversion routine. |
static float |
int_to_float(int arg0)
Wrapper method for
int32_to_float32() conversion routine. |
static int |
int32_to_float32(int arg0)
Integer-to-single-precision conversion routine.
|
static long |
int32_to_float64(int arg0)
Integer-to-double-precision conversion routine.
|
static int |
int64_to_float32(long arg0)
Integer-to-single-precision conversion routine.
|
static long |
int64_to_float64(long arg0)
Integer-to-double-precision conversion routine.
|
static double |
long_to_double(long arg0)
Wrapper method for
int64_to_float64() conversion routine. |
static float |
long_to_float(long arg0)
Wrapper method for
int64_to_float32() conversion routine. |
static void |
mul64To128(long arg0,
long arg1,
long arg2,
long arg3) |
static void |
set_float_detect_tininess(char float_detect_tininess)
Set underflow tininess-detection mode.
|
static void |
set_floating_rounding_mode(char floating_rounding_mode)
Set floating-point rounding mode.
|
public static final char TININESS_AFTER_ROUNDING
public static final char TININESS_BEFORE_ROUNDING
public static final char ROUND_NEAREST_EVEN
public static final char ROUND_DOWN
public static final char ROUND_UP
public static final char ROUND_TO_ZERO
public static final char FLAG_INVALID
public static final char FLAG_DIVBYZERO
public static final char FLAG_OVERFLOW
public static final char FLAG_UNDERFLOW
public static final char FLAG_INEXACT
public static char get_float_detect_tininess()
public static void set_float_detect_tininess(char float_detect_tininess)
public static char get_floating_rounding_mode()
public static void set_floating_rounding_mode(char floating_rounding_mode)
public static char get_float_exception_flags()
public static int int32_to_float32(int arg0)
arg0
- the number to be converted.arg0
to the
single-precision floating-point format.public static long int32_to_float64(int arg0)
arg0
- the number to be converted.arg0
to the
double-precision floating-point format.public static int int64_to_float32(long arg0)
arg0
- the number to be converted.arg0
to the
single-precision floating-point format.public static long int64_to_float64(long arg0)
arg0
- the number to be converted.arg0
to the
double-precision floating-point format.public static int float32_to_int32(int arg0)
arg0
- the number to be converted in bit integer number representation.arg0
to
the 32-bit two's complement integer format. If arg0
is a NaN, the largest
positive integer is returned. Otherwise, if the conversion overflows, the largest
integer with the same sign as arg0
is returned.public static int float32_to_int32_round_to_zero(int arg0)
arg0
- the number to be converted in bit integer number representation.arg0
to
the 32-bit two's complement integer format. If arg0
is a NaN, the largest
positive integer is returned. Otherwise, if the conversion overflows, the largest
integer with the same sign as arg0
is returned.public static long float32_to_int64(int arg0)
arg0
- the number to be converted in bit integer number representation.arg0
to
the 64-bit two's complement integer format. If arg0
is a NaN, the largest
positive integer is returned. Otherwise, if the conversion overflows, the largest
integer with the same sign as arg0
is returned.public static long float32_to_int64_round_to_zero(int arg0)
arg0
- the number to be converted in bit integer number representation.arg0
to
the 64-bit two's complement integer format. If arg0
is a NaN, the largest
positive integer is returned. Otherwise, if the conversion overflows, the largest
integer with the same sign as arg0
is returned.public static long float32_to_float64(int arg0)
arg0
- the number to be converted in bit integer number representation.arg0
to
the double-precision floating-point format.public static int float32_round_to_int(int arg0)
arg0
to an integer.arg0
- the operand in bit integer number representation.public static int float32_add(int arg0, int arg1)
arg0
- the first operand of add operation in bit integer number
representation.arg1
- the second operand of add operation in bit integer number
representation.arg0
and
arg1
public static int float32_sub(int arg0, int arg1)
arg0
- the first operand of sub operation in bit integer number
representation.arg1
- the second operand of sub operation in bit integer number
representation.arg0
and arg1
.public static int float32_mul(int arg0, int arg1)
arg0
- the first operand of mul operation in bit integer number
representation.arg1
- the second operand of mul operation in bit integer number
representation.arg0
and arg1
.public static int float32_div(int arg0, int arg1)
arg0
- the first operand of div operation in bit integer number
representation.arg1
- the second operand of div operation in bit integer number
representation.arg0
by
the corresponding value arg1
.public static int float32_rem(int arg0, int arg1)
arg0
- the first operand of rem operation in bit integer number
representation.arg1
- the second operand of rem operation in bit integer number
representation.arg0
with
respect to the corresponding value arg1
.public static int float32_sqrt(int arg0)
arg0
- the operand of sqrt operation in bit integer number representation.arg0
.public static char float32_eq(int arg0, int arg1)
arg0
- the first operand of eq operation in bit integer number
representation.arg1
- the second operand of eq operation in bit integer number
representation.1
if the single-precision floating-point value arg0
is equal
to the corresponding value arg1
;
0
otherwise.public static char float32_le(int arg0, int arg1)
arg0
- the first operand of le operation in bit integer number
representation.arg1
- the second operand of le operation in bit integer number
representation.1
if the single-precision floating-point value arg0
is less
than or equal to the corresponding value arg1
;
0
otherwise.public static char float32_lt(int arg0, int arg1)
arg0
- the first operand of lt operation in bit integer number
representation.arg1
- the second operand of lt operation in bit integer number
representation.1
if the single-precision floating-point value arg0
is less
than the corresponding value arg1
;
0
otherwise.public static char float32_eq_signaling(int arg0, int arg1)
arg0
- the first operand of eq operation in bit integer number
representation.arg1
- the second operand of eq operation in bit integer number
representation.1
if the single-precision floating-point value arg0
is equal
to the corresponding value arg1
;
0
otherwise.public static char float32_le_quiet(int arg0, int arg1)
arg0
- the first operand of eq operation in bit integer number
representation.arg1
- the second operand of eq operation in bit integer number
representation.1
if the single-precision floating-point value arg0
is less
than or equal to the corresponding value arg1
;
0
otherwise.public static char float32_lt_quiet(int arg0, int arg1)
arg0
- the first operand of eq operation in bit integer number
representation.arg1
- the second operand of eq operation in bit integer number
representation.1
if the single-precision floating-point value arg0
is less
than or equal to the corresponding value arg1
;
0
otherwise.public static char float32_is_signaling_nan(int arg0)
arg0
- the operand in bit integer number representation.1
if the operand is a signaling NaN;
0
otherwise.public static int float64_to_int32(long arg0)
arg0
- the operand in bit integer number representation.arg0
to
the single-precision floating-point format. If arg0
is a NaN, the largest
positive integer is returned. Otherwise, if the conversion overflows, the largest
integer with the same sign as arg0
is returned.public static int float64_to_int32_round_to_zero(long arg0)
arg0
- the operand in bit integer number representation.arg0
to
the single-precision floating-point format. If arg0
is a NaN, the largest
positive integer is returned. Otherwise, if the conversion overflows, the largest
integer with the same sign as arg0
is returned.public static long float64_to_int64(long arg0)
arg0
- the operand in bit integer number representation.arg0
to
the 64-bit two's complement integer format. If arg0
is a NaN, the largest
positive integer is returned. Otherwise, if the conversion overflows, the largest
integer with the same sign as arg0
is returned.public static long float64_to_int64_round_to_zero(long arg0)
arg0
- the operand in bit integer number representation.arg0
to
the 64-bit two's complement integer format. If arg0
is a NaN, the largest
positive integer is returned. Otherwise, if the conversion overflows, the largest
integer with the same sign as arg0
is returned.public static int float64_to_float32(long arg0)
arg0
- the operand in bit integer number representation.arg0
to
the single-precision floating-point format.public static long float64_round_to_int(long arg0)
arg0
to an integer.arg0
- the operand in bit integer number representation.public static long float64_add(long arg0, long arg1)
arg0
- the first operand of add operation in bit integer number
representation.arg1
- the second operand of add operation in bit integer number
representation.arg0
and
arg1
.public static long float64_sub(long arg0, long arg1)
arg0
- the first operand of sub operation in bit integer number
representation.arg1
- the second operand of sub operation in bit integer number
representation.arg0
and arg1
.public static long float64_mul(long arg0, long arg1)
arg0
- the first operand of mul operation in bit integer number
representation.arg1
- the second operand of mul operation in bit integer number
representation.arg0
and arg1
.public static void mul64To128(long arg0, long arg1, long arg2, long arg3)
public static long float64_div(long arg0, long arg1)
arg0
- the first operand of div operation in bit integer number
representation.arg1
- the second operand of div operation in bit integer number
representation.arg0
by
the corresponding value arg1
.public static long float64_rem(long arg0, long arg1)
arg0
- the first operand of rem operation in bit integer number
representation.arg1
- the second operand of rem operation in bit integer number
representation.arg0
with
respect to the corresponding value arg1
.public static long float64_sqrt(long arg0)
arg0
- the first operand of rem operation in bit integer number
representation.arg0
.public static char float64_eq(long arg0, long arg1)
arg0
- the first operand of eq operation in bit integer number
representation.arg1
- the second operand of eq operation in bit integer number
representation.1
if the double-precision floating-point value arg0
is equal
to the corresponding value arg1
;
0
otherwise.public static char float64_le(long arg0, long arg1)
arg0
- the first operand of le operation in bit integer number
representation.arg1
- the second operand of le operation in bit integer number
representation.1
if the double-precision floating-point value arg0
is less
than or equal to the corresponding value arg1
;
0
otherwise.public static char float64_lt(long arg0, long arg1)
arg0
- the first operand of lt operation in bit integer number
representation.arg1
- the second operand of lt operation in bit integer number
representation.1
if the double-precision floating-point value arg0
is less
than the corresponding value arg1
;
0
otherwise.public static char float64_eq_signaling(long arg0, long arg1)
arg0
- the first operand of eq operation in bit integer number
representation.arg1
- the second operand of eq operation in bit integer number
representation.1
if the double-precision floating-point value arg0
is equal
to the corresponding value arg1
;
0
otherwise.public static char float64_le_quiet(long arg0, long arg1)
arg0
- the first operand of le operation in bit integer number
representation.arg1
- the second operand of le operation in bit integer number
representation.1
if the double-precision floating-point value arg0
is less
than or equal to the corresponding value arg1
;
0
otherwise.public static char float64_lt_quiet(long arg0, long arg1)
arg0
- the first operand of lt operation in bit integer number
representation.arg1
- the second operand of lt operation in bit integer number
representation.1
if the double-precision floating-point value arg0
is less
than the corresponding value arg1
;
0
otherwise.public static char float64_is_signaling_nan(long arg0)
arg0
- the operand in bit integer number representation.1
if the operand is a signaling NaN;
0
otherwise.public static int floatx80_to_int32(FloatX80 arg0)
arg0
- extended double-precision floating-point value.arg0
is a NaN.
largest integer with the same sign as arg0
otherwise.public static int floatx80_to_int32_round_to_zero(FloatX80 arg0)
arg0
- the extended double-precision floating-point value.public static long floatx80_to_int64(FloatX80 arg0)
public static long floatx80_to_int64_round_to_zero(FloatX80 arg0)
public static int floatx80_to_float32(FloatX80 arg0)
public static long floatx80_to_float64(FloatX80 arg0)
public static char floatx80_is_signaling_nan(FloatX80 arg0)
public static int float128_to_int32(Float128 arg0)
public static int float128_to_int32_round_to_zero(Float128 arg0)
public static long float128_to_int64(Float128 arg0)
public static long float128_to_int64_round_to_zero(Float128 arg0)
public static int float128_to_float32(Float128 arg0)
public static long float128_to_float64(Float128 arg0)
public static boolean float128_is_signaling_nan(Float128 arg0)
public static float int_to_float(int arg0)
int32_to_float32()
conversion routine.arg0
- the number to be converted.int32_to_float32(int).
public static double int_to_double(int arg0)
int32_to_float64()
conversion routine.arg0
- the number to be converted.int32_to_float64(int).
public static float long_to_float(long arg0)
int64_to_float32()
conversion routine.arg0
- the number to be converted.int64_to_float32(long).
public static double long_to_double(long arg0)
int64_to_float64()
conversion routine.arg0
- the number to be converted.int64_to_float64(long).
public static int float_to_int(float arg0)
float32_to_int32()
conversion routine.arg0
- the number to be converted.float32_to_int32(int)
public static int float_to_int_round_to_zero(float arg0)
float32_to_int32_round_to_zero()
conversion routine.arg0
- the number to be converted.float32_to_int32_round_to_zero(int).
public static long float_to_long(float arg0)
float32_to_int64()
conversion routine.arg0
- the number to be converted.float32_to_int64(int).
public static long float_to_long_round_to_zero(float arg0)
float32_to_int64_round_to_zero()
conversion routine.arg0
- the number to be converted.float32_to_int64_round_to_zero(int).
public static double float_to_double(float arg0)
float32_to_float64()
conversion routine.arg0
- the number to be converted.float32_to_float64(int).
public static float float_round_to_int(float arg0)
float32_round_to_int()
single-precision operation.arg0
- the number to be rounded.float32_round_to_int(int).
public static float float_add(float arg0, float arg1)
float32_add()
single-precision operation.arg0
- the first operand of add operation.arg1
- the second operand of add operation.float32_add(int, int).
public static float float_sub(float arg0, float arg1)
float32_sub()
single-precision operation.arg0
- the first operand of sub operation.arg1
- the second operand of sub operation.float32_sub(int, int).
public static float float_mul(float arg0, float arg1)
float32_mul()
single-precision operation.arg0
- the first operand of mul operation.arg1
- the second operand of mul operation.float32_mul(int, int).
public static float float_div(float arg0, float arg1)
float32_div()
single-precision operation.arg0
- the first operand of div operation.arg1
- the second operand of div operation.float32_div(int, int).
public static float float_rem(float arg0, float arg1)
float32_rem()
single-precision operation.arg0
- the first operand of rem operation.arg1
- the second operand of rem operation.float32_rem(int, int).
public static float float_sqrt(float arg0)
float32_sqrt()
single-precision operation.arg0
- the first operand of sqrt operation.float32_sqrt(int).
public static boolean float_eq(float arg0, float arg1)
float32_sqrt()
single-precision operation.arg0
- the first operand of eq operation.arg1
- the second operand of eq operationfloat32_eq(int, int)
public static boolean float_le(float arg0, float arg1)
float32_le()
single-precision operation.arg0
- the first operand of le operationarg1
- the second operand of le operationfloat32_le(int, int).
public static boolean float_lt(float arg0, float arg1)
float32_lt()
single-precision operation.arg0
- the first operand of lt operation.arg1
- the second operand of lt operation.float32_lt(int, int).
public static boolean float_eq_signaling(float arg0, float arg1)
float32_eq_signaling()
single-precision operation.arg0
- the first operand of eq signaling operation.arg1
- the second operand of eq signaling operation.float32_lt(int, int).
public static boolean float_le_quiet(float arg0, float arg1)
float32_le_quiet()
single-precision operation.arg0
- the first operand of le quiet operation.arg1
- the second operand of le quiet operation.float32_le_quiet(int, int).
public static boolean float_lt_quiet(float arg0, float arg1)
float32_lt_quiet()
single-precision operation.arg0
- the first operand of lt quiet operation.arg1
- the second operand of lt quiet operation.float32_lt_quiet(int, int).
public static boolean float_is_signaling_nan(float arg0)
float32_is_signaling_nan()
single-precision operation.arg0
- the first operand of lt quiet operation.true
if argument is signaling NaN;
false
otherwise.float32_is_signaling_nan(int).
public static int double_to_int(double arg0)
float64_to_int32()
double-precision conversion operation.arg0
- the number to be converted.float64_to_int32(long).
public static int double_to_int_round_to_zero(double arg0)
float64_to_int32_round_to_zero()
double-precision conversion
operation.arg0
- the number to be converted.float64_to_int32_round_to_zero(long).
public static long double_to_long(double arg0)
float64_to_int64()
double-precision conversion operation.arg0
- the number to be converted.float64_to_int64(long).
public static long double_to_long_round_to_zero(double arg0)
float64_to_int64_round_to_zero()
double-precision conversion
operation.arg0
- the number to be roundedfloat64_to_int64_round_to_zero(long).
public static float double_to_float(double arg0)
float64_to_float32()
double-precision conversion operation.arg0
- the number to be converted.float64_to_float32(long).
public static double double_round_to_int(double arg0)
float64_round_to_int()
double-precision operation.arg0
- the operand of round operation.float64_round_to_int(long).
public static double double_add(double arg0, double arg1)
float64_add()
double-precision operation.arg0
- the first operand of add operation.arg1
- the second operand of add operation.float64_add(long, long).
public static double double_sub(double arg0, double arg1)
float64_sub()
double-precision operation.arg0
- the first operand of sub operation.arg1
- the second operand of sub operation.float64_sub(long, long).
public static double double_mul(double arg0, double arg1)
float64_mul()
double-precision operation.arg0
- the first operand of mul operation.arg1
- the second operand of mul operation.float64_mul(long, long).
public static void double_mul64To128(double arg0, double arg1, long arg2, long arg3)
public static double double_div(double arg0, double arg1)
float64_div()
double-precision operation.arg0
- the first operand of div operation.arg1
- the second operand of div operation.float64_div(long, long).
public static double double_rem(double arg0, double arg1)
float64_rem()
double-precision operation.arg0
- the first operand of rem operation.arg1
- the second operand of rem operation.float64_rem(long, long).
public static double double_sqrt(double arg0)
float64_sqrt()
double-precision operation.arg0
- the operand of sqrt operation.float64_sqrt(long).
public static boolean double_eq(double arg0, double arg1)
float64_eq()
double-precision operation.arg0
- the first operand of eq operation.arg1
- the second operand of eq operation.float64_eq(long, long).
public static boolean double_le(double arg0, double arg1)
float64_le()
double-precision operation.arg0
- the first operand of le operation.arg1
- the second operand of le operation.float64_le(long, long).
public static boolean double_lt(double arg0, double arg1)
float64_lt()
double-precision operation.arg0
- the first operand of lt operation.arg1
- the second operand of lt operation.float64_lt(long, long).
public static boolean double_eq_signaling(double arg0, double arg1)
float64_eq_signaling()
double-precision operation.arg0
- the first operand of eq signaling operation.arg1
- the second operand of eq signaling operation.float64_eq_signaling(long, long).
public static boolean double_le_quiet(double arg0, double arg1)
float64_le_quiet()
double-precision operation.arg0
- the first operand of le quiet operation.arg1
- the second operand of le quiet operation.float64_le_quiet(long, long).
public static boolean double_lt_quiet(double arg0, double arg1)
float64_lt_quiet()
double-precision operation.arg0
- the first operand of lt quiet operation.arg1
- the second operand of lt quiet operation.float64_lt_quiet(long, long).
public static boolean double_is_signaling_nan(double arg0)
float64_is_signaling_nan()
single-precision operation.arg0
- the first operand of lt quiet operation.true
if argument is signaling NaN;
false
otherwise.float64_is_signaling_nan(long).
public static int floatx80_to_int(FloatX80 arg0)
public static int floatx80_to_int_round_to_zero(FloatX80 arg0)
public static long floatx80_to_long(FloatX80 arg0)
public static long floatx80_to_long_round_to_zero(FloatX80 arg0)
public static float floatx80_to_float(FloatX80 arg0)
public static double floatx80_to_double(FloatX80 arg0)
public static boolean floatx80_is_signaling_nan_c(FloatX80 arg0)
public static int float128_to_int(Float128 arg0)
public static int float128_to_int_round_to_zero(Float128 arg0)
public static long float128_to_long(Float128 arg0)
public static long float128_to_long_round_to_zero(Float128 arg0)
public static float float128_to_float(Float128 arg0)
public static double float128_to_double(Float128 arg0)
public static boolean float128_is_signaling_nan_c(Float128 arg0)