rationalize

[procedure] rationalize x y

R5RS, R6RS

See also numerator, denominator.

[procedure] rationalize x

RRRS, R3RS: produces the best rational approximation to x, preserving all of the precision in its representation.