Boost logo

Boost :

Subject: Re: [boost] New Boost.XInt Library, request preliminary review
From: Chad Nelson (chad.thecomfychair_at_[hidden])
Date: 2010-03-28 23:58:37


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

>> 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.

Oops, you're right. Sorry, as I said, I'm only an armchair
mathematician. :-)
- --
Chad Nelson
Oak Circle Software, Inc.
*
*
*
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.9 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iEYEARECAAYFAkuwJW0ACgkQp9x9jeZ9/wQSzwCgw88N9nFUaBDP6zGb/X4sN+JY
M20An12LEUBwh5zSMckCmAW3GpkIGDcI
=1Tg1
-----END PGP SIGNATURE-----


Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk