Modifier and Type | Field and Description |
---|---|
boolean |
allow_coincidence
Whether distances of zero(=0/1) are allowed, or divisions must be repeated
as long as necessary.
|
Rational |
distance_lower
Maximally allowed distance below the approximation;
it holds that (found_approx - orig<=distance_lower).
|
Rational |
distance_upper
Maximally allowed distance above the approximation;
it holds that (orig - found_approx<=distance_upper).
|
int |
divisor
Divisor for generating new approximations.
|
Constructor and Description |
---|
Parameters_approximate() |
public Rational distance_lower
public Rational distance_upper
public int divisor
public boolean allow_coincidence
public void check()
IllegalArgumentException