From: Peder Holt (peder.holt_at_[hidden])
Date: 2005-06-10 13:44:55
On 6/9/05, Jonathan Wakely <cow_at_[hidden]> wrote:
> On Wed, Jun 08, 2005 at 05:20:26PM -0400, David Abrahams wrote:
> > Peder Holt <peder.holt_at_[hidden]> writes:
> > > On 6/8/05, David Abrahams <dave_at_[hidden]> wrote:
> > >> Peder Holt <peder.holt_at_[hidden]> writes:
> > >>
> > >>
> > >> Maybe I'm missing something obvious, but I don't see how any of this
> > >> leads to compile-time constants. On a conforming compiler, a
> > >> calculation involving floating-point is not a compile-time constant.
> > >
> > > In that case VC7.1,VC8.0 beta and GCC3.2 got it wrong somewhere :)
> > That's a known extension in vc7.1. The head of the VC++ team himself
> > told me about it (his favorite unintentional extension, I think), and
> > told me it was gone in vc8.x, I'm pretty sure. I'm surprised to hear
> > that it works for you there. Can't speak for GCC.
> This was an undocumented extension that has been deprecated in GCC 4
> c.f. http://gcc.gnu.org/ml/gcc/2005-01/msg01744.html
> and the last two items here:
Oh, well. Anyway, I have now uploaded a version of this to the vault:
that is mpl-compliant and supports comparison and arithmetics with the
same accuracy as normal double arithmetics. Does not support NaN.
> "We're doomed!"
> - C3PO
> 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