|
Boost : |
Subject: Re: [boost] New Boost.XInt Library, request preliminary review
From: DE (satan66613_at_[hidden])
Date: 2010-04-02 15:27:13
on 02.04.2010 at 23:11
Chad Nelson wrote :
>> and finally: arbitrary and infinite are rather distinct words
>> are we talking about arbitrary precision integers or infinite numbers?
> Arbitrary-precision integers. But it could sometimes be useful to have a
> value representing infinity, just as it's sometimes useful to have one
> representing Not-a-Number.
i agree with the presence of NaN
and i agree that NaN should propagate when exceptions are blocked
but nobody convinced me so far of usefulness of infinities in an
integer domain
as well as signed zero
on 02.04.2010 at 22:57
Chad Nelson wrote :
> I can see some very limited uses for calculations with infinities,
> mostly involving endpoints in a range.
that seems very doubtful to me
> I'm not sure what Scott has in mind, but there's one application you
> haven't mentioned: simply using it as a much larger capacity integer, as
> the Fibonacci example in the documentation demonstrates.
sure it can, i implied it
-- Pavel P.S. if you notice a grammar mistake or weird phrasing in my message please point it out
Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk