Boost logo

Boost Users :

From: Guillaume Melquiond (guillaume.melquiond_at_[hidden])
Date: 2006-10-22 09:31:37


Le samedi 21 octobre 2006 à 16:06 +0200, Guillaume Melquiond a écrit :

> But thanks to your testcase, I now understand where the confusion comes
> from. There must be a bug somewhere, as the width of the single
> precision interval should never have been zero. For now, I haven't found
> anything obvious. I'm not even sure whether the bug is in the interval
> library or not. I will have to investigate.

Following up on myself. There is a bug [*] in GCC 3.4 and later such
that the compiler generates wrong code when converting from
interval<double> to interval<float>. So, if your compiler is GCC, the
behavior you observe is not surprising (although completely wrong).

Best regards,

Guillaume

[*] http://gcc.gnu.org/bugzilla/show_bug.cgi?id=21032


Boost-users list run by williamkempf at hotmail.com, kalb at libertysoft.com, bjorn.karlsson at readsoft.com, gregod at cs.rpi.edu, wekempf at cox.net