Boost logo

Boost :

Subject: Re: [boost] New Boost.XInt Library, request preliminary review
From: Chad Nelson (chad.thecomfychair_at_[hidden])
Date: 2010-03-29 20:30:50


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

On 03/29/2010 11:14 AM, Scott McMurray wrote:

>> An interval consists of two points. Setting the lower point to
>> Not-a-Number would work exactly the same as setting it to
>> -infinity. Same with the higher point and +infinity. It wouldn't
>> make any sense to set the lower point to +infinity, or the higher
>> one to -infinity, so the sign doesn't convey any useful information
>> in that case.
>
> No, because -Inf < finite and finite < Inf will always return true,
> whereas NaN < finite and finite < NaN will either throw an exception
> or, if a quiet NaN acting like IEEE 754, return false.

Agreed, see my most recent response to Jeffrey Hellrung.
- --
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/

iEYEARECAAYFAkuxRjoACgkQp9x9jeZ9/wQZjgCfZC6016hkPd2dHuhvBX3ON7g+
3uIAoIV4/r40hRgijrT8F/X8RD/dNEK+
=CA3c
-----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