approx ( epsilon float -- a/b )


Vocabulary
math.continued-fractions

Inputs
epsilona positive floating point number representing the absolute acceptable error
floata positive floating point number to approximate


Outputs
a/ba fractional number containing the approximation


Word description
Give a rational approximation of float with a precision of epsilon using the smallest possible denominator.

Definition