|
Boost : |
From: Daryle Walker (dwalker07_at_[hidden])
Date: 2003-08-19 22:03:58
On Monday, August 18, 2003, at 10:31 PM, Paul A. Bristow wrote:
> Agreed - but what do we do if NOT is_iec559?
>
> Give up? #error "Can only work with IEEE 754!"
>
> Or choose a massive amount of decimal digits? eg 40?
Why not just use what we're currently doing, use
numeric_limits<>::digits10 and hope that it's accurate enough?
Daryle
Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk