On Sat, Dec 22, 2012 at 11:42 AM, John Cowan <[email protected]> wrote:

> Alex Shinn scripsit:
>
> > Yes, the intention is to catch overflow as well, though infinity is a
> > useful numerical concept and I have no intention to remove those values.
>
> In that case, what is the reciprocal of negative infinity?


Zero, of course.  And the reciprocal of zero is an exception.


> > I think any slow-down is better than giving the wrong answer,
>
> That's what exact arithmetic is for.
>

Exact arithmetic can run out of memory.

-- 
Alex
_______________________________________________
Scheme-reports mailing list
[email protected]
http://lists.scheme-reports.org/cgi-bin/mailman/listinfo/scheme-reports

Reply via email to