Subject: Re: [boost] New Boost.XInt Library, request preliminary review
From: Scott McMurray (me22.ca+boost_at_[hidden])
Date: 2010-03-28 17:47:18


On 28 March 2010 17:32, Chad Nelson <chad.thecomfychair_at_[hidden]> wrote:
>
> Which would defeat the primary purpose of the NaN value in the XInt
> library, which is to have something to return instead of throwing an
> exception when exceptions are blocked. :-)
>

On 28 March 2010 17:47, Chad Nelson <chad.thecomfychair_at_[hidden]> wrote:
>
> No argument. But in the context of an integer library that will exactly
> represent any value that it can find the memory for, and will throw an
> exception if it can't get the memory it needs to represent a number
> exactly, I can't see much need for a specific value to represent infinity.
>

Do those two quotation imply that NaNs will also result from the
"overflow" condition of running out of memory? If so, there's your
reason for an Infinity special value.