Boost logo

Boost :

Subject: Re: [boost] MS VC10 std::numeric_limits<float>::max_digits10 iswrong for float
From: Paul A. Bristow (pbristow_at_[hidden])
Date: 2011-06-12 11:38:51


> -----Original Message-----
> From: boost-bounces_at_[hidden] [mailto:boost-bounces_at_[hidden]] On Behalf Of Stephan T.
> Lavavej
> Sent: Saturday, June 11, 2011 3:36 AM
> To: boost_at_[hidden]
> 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_at_[hidden]

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