
-----Original Message----- From: boost-bounces@lists.boost.org [mailto:boost-bounces@lists.boost.org] On Behalf Of Stephan T. Lavavej Sent: Saturday, June 11, 2011 3:36 AM To: boost@lists.boost.org Subject: Re: [boost] MS VC10 std::numeric_limits<float>::max_digits10 is wrong for float
[Paul A. Bristow]
I hope this is convincing - I conclude that Kahan was right, and is still is ;-)
Dinkumware (i.e. PJP) agrees with you, and we'll fix VC11.
Thanks :-) Paul PS I hope people realise how much trouble this causes for those trying to write clear code, and be portable. What happened to QA and testing? We either need a specific BOOST macro to deal with this (since we can't just test for a C++0X library) , or we have to stick to the Kahan formula for yet another year :-( (Reluctantly, I'm coming to be view that the latter is the easiest thing to do, since there are so many compilers/libraries to deal with, making config a rats nest.) --- Paul A. Bristow, Prizet Farmhouse, Kendal LA8 8AB UK +44 1539 561830 07714330204 pbristow@hetp.u-net.com