From: Johan Råde (rade_at_[hidden])
Date: 2008-02-25 13:49:15
Guillaume Melquiond wrote:
> Le lundi 25 février 2008 à 18:25 +0100, Johan Råde a écrit :
>>> What is the rationale for not enabling signed_zero by default?
>> I think most users of the library will not want it enabled by default.
>> They may not care much about the fine details of floating point arithmetic.
>> Insted they may just want to prevent crashes when deserializing text archives
>> that contain (by design or by accident) infinity or NaN.
> I should have added the following: On all the systems I have access to
> (various *nix flavors), the default behavior is to display the sign of
> negative zero. So I don't know if that is what the users expect. But I'm
> quite sure that users don't expect a change in the way zero is
> displayed, when they use a facet dedicated to "nonfinite" things.
On VC71, the default behavior is not to display the sign of negative zero.
I'll have to think about this.
Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk