From: Vyacheslav E. Andrejev (vandrejev_at_[hidden])
Date: 2004-11-12 05:12:34
Thare is a problem in boost::format to treat infinity floating point values. Compare output of the two following lines of code:
cout << numeric_limits<double>::infinity();
cout << boost::format("%f\n") % numeric_limits<double>::infinity();
The first one on my machine outputs
which denotes infinity. The code with boost::format outputs
It's not what I can expect in any way.
It's strange, but quiet NaN is outputed well.
-- Vyacheslav E. Andrejev System Architect, Excelsior, LLC
Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk