chickadee » math » fp2->real

fp2->real x2 x1procedure
x2
flonum
x1
flonum

Returns the exact sum of x2 and x1 if x2 is rational, x2 otherwise.

> (define-values (x2 x1) (fp2 1/7))
> (fp2->real x2 x1)
46359793379775246683308002939465/324518553658426726783156020576256