
On 6/9/05, Jonathan Wakely <cow@compsoc.man.ac.uk> wrote:
On Wed, Jun 08, 2005 at 05:20:26PM -0400, David Abrahams wrote:
Peder Holt <peder.holt@gmail.com> writes:
On 6/8/05, David Abrahams <dave@boost-consulting.com> wrote:
Peder Holt <peder.holt@gmail.com> 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: http://gcc.gnu.org/onlinedocs/gcc-4.0.0/gcc/Deprecated-Features.html#Depreca...
Oh, well. Anyway, I have now uploaded a version of this to the vault: metamath.zip that is mpl-compliant and supports comparison and arithmetics with the same accuracy as normal double arithmetics. Does not support NaN. Regards, Peder
jon
-- "We're doomed!" - C3PO _______________________________________________ Unsubscribe & other changes: http://lists.boost.org/mailman/listinfo.cgi/boost