Boost logo

Boost :

From: Paul A Bristow (pbristow_at_[hidden])
Date: 2007-03-15 05:25:26

I also raised this issue with the Standards group

but I suspect getting C++0x out of the door is a higher priority.

So maybe it is a problem that Boost should fully solve - much of the work has already been done by Johan Rade.

Possibly a GSoC project to polish it up/off?


Paul A Bristow
Prizet Farmhouse, Kendal, Cumbria UK LA8 8AB
+44 1539561830 & SMS, Mobile +44 7714 330204 & SMS
>-----Original Message-----
>From: boost-bounces_at_[hidden] 
>[mailto:boost-bounces_at_[hidden]] On Behalf Of Jeff Garland
>Sent: 14 March 2007 23:15
>To: boost_at_[hidden]
>Subject: Re: [boost] [format] - exponential format, NaN and infinity
>frederic.bron_at_[hidden] wrote:
>> This is about output of real values (float, double, ...) in 
>> format and output of not a number and infinity.
>> My concern is that in C++, the output differs from one 
>compiler/machine to 
>> another. It would be very nice if boost::format could 
>garantee the same 
>> output on every computer. 
>I'm not 100% sure this will solve your problem, but you should 
>have a look at 
>the floating_point_utils from Johan Rade with help from John 
>Maddock and 
>others.  You can find it in the vault here
>It's not an official lib yet, but I believe it's been testing 
>on a whole bunch 
>of compilers and platforms.  There's a long discussion of this 
>in the mail 
>archive -- look for 'fpclassify' on this page:
>Unsubscribe & other changes: 

Boost list run by bdawes at, gregod at, cpdaniel at, john at