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 pbristow_at_[hidden] >-----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 >exponential >> 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 > >http://boost-consulting.com/vault/index.php?&direction=0&order= >&directory=Math%20-%20Numerics > >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: > >http://lists.boost.org/Archives/boost/2006/12/index.php > >HTH, > >Jeff >_______________________________________________ >Unsubscribe & other changes: >http://lists.boost.org/mailman/listinfo.cgi/boost >
Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk