$include_dir="/home/hyper-archives/boost/include"; include("$include_dir/msg-header.inc") ?>
Subject: Re: [boost] New Boost.XInt Library, request preliminary review
From: Scott McMurray (me22.ca+boost_at_[hidden])
Date: 2010-03-28 22:25:25
On 28 March 2010 22:14, Chad Nelson <chad.thecomfychair_at_[hidden]> wrote:
>
> Technically, 0/0 should be allowed, with a result of 1. I don't know any
> computer implementation that bothers checking for that and allowing it
> though.
>
Please no. As x -> 0, 0/x says it should be 0, x/x says it should be
1, sqrt(x)/x says it should be +infinity. 0/0 is the one that really
has to be NaN.
Ask your friendly neighbourhood high school calculus teacher for
further elaboration.