private static class FastMath.Split
extends java.lang.Object
| Modifier and Type | Field and Description |
|---|---|
private double |
full
Full number.
|
private double |
high
High order bits.
|
private double |
low
Low order bits.
|
static FastMath.Split |
NAN
Split version of NaN.
|
static FastMath.Split |
NEGATIVE_INFINITY
Split version of negative infinity.
|
static FastMath.Split |
POSITIVE_INFINITY
Split version of positive infinity.
|
| Constructor and Description |
|---|
FastMath.Split(double x)
Simple constructor.
|
FastMath.Split(double high,
double low)
Simple constructor.
|
FastMath.Split(double full,
double high,
double low)
Simple constructor.
|
| Modifier and Type | Method and Description |
|---|---|
FastMath.Split |
multiply(FastMath.Split b)
Multiply the instance by another one.
|
private FastMath.Split |
pow(long e)
Computes this^e.
|
FastMath.Split |
reciprocal()
Compute the reciprocal of the instance.
|
public static final FastMath.Split NAN
public static final FastMath.Split POSITIVE_INFINITY
public static final FastMath.Split NEGATIVE_INFINITY
private final double full
private final double high
private final double low
FastMath.Split(double x)
x - number to splitFastMath.Split(double high,
double low)
high - high order bitslow - low order bitsFastMath.Split(double full,
double high,
double low)
full - full numberhigh - high order bitslow - low order bitspublic FastMath.Split multiply(FastMath.Split b)
b - other instance to multiply bypublic FastMath.Split reciprocal()
private FastMath.Split pow(long e)
e - exponent (beware, here it MUST be > 0; the only exclusion is Long.MIN_VALUE)Copyright (c) 2003-2017 Apache Software Foundation