[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

comparisons between floats and ratios

    Is (> a-rational a-float) supposed to err out when (float a-rational a-float)
    would overflow?  If so, there should at least be some way to tell ahead of time
    if that's going to happen, for people who want to write a more careful
    comparison routine.

Sounds like a job for the error system (a proposal for which KMP is
supposed to have ready soon).  Better to intercept this rare overflow
problem when it occurs, and when you actually care, than to slow down
the universe by trying to prevent it.