|
Boost : |
From: Martin Bonner (martin.bonner_at_[hidden])
Date: 2006-08-04 07:28:34
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.
-- Martin Bonner Martin.Bonner_at_[hidden] Pi Technology, Milton Hall, Ely Road, Milton, Cambridge, CB4 6WZ, ENGLAND Tel: +44 (0)1223 203894
Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk