Boost logo

Boost :

From: Paul A Bristow (pbristow_at_[hidden])
Date: 2006-08-04 09:33:30


 

| -----Original Message-----
| From: boost-bounces_at_[hidden]
| [mailto:boost-bounces_at_[hidden]] On Behalf Of Martin Bonner
| Sent: 04 August 2006 12:29
| To: boost_at_[hidden]
| Subject: Re: [boost] Spurious warning in lexical_cast.hpp
|
| From: Paul A Bristow
| > From: Alexander Nasonov
| >>
| >> I have not get a chance to study the subject yet but I
| wonder why
| >> don't you just set a precision to some huge number, say 32767 or
| >> INT_MAX?
| >
| > This would be hugely wasteful as it would convert everything with
| > 32767 decimal digits, of which, even with 256-bit floating point,
| > 32267 digits would be noise!
|
| <Nit>That implies 500 decimal digits would be non-noise.
| Actually the
| formula suggests that a 256 bit mantissa would only need 79 decimal
| digits.

<Nitwit> ;-)

I remembered the result for 128-bit, and substracted 40, but then over-hyped
to 256-bit!

But you got the point.

</nitwit> - for now at least...

Paul


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