On Nov 8, 2006, at 9:24 AM, Bill Wendling wrote: > On 11/8/06, Jim Laskey <[EMAIL PROTECTED]> wrote: >> >> John, >> >> Both are defined on Darwin, FLT_MAX in float.h and HUGE_VALF in >> math.h. >> However, neither header seems to be based on a BSD header. I choose >> HUGE_VALF because it was also defined in the LINUX and FREEBSD math.h >> headers (seemed like confirmation to me.) I'll wait for Chris to >> make the >> call. (might uses a #ifndef HUGE_VALF thingame.) >> > Would it be possible to use std::numeric_limits<float>::infinity in > <limits> instead?
I think that had some other problems, it is broken in some version of GCC, IIRC. -Chris _______________________________________________ llvm-commits mailing list llvm-commits@cs.uiuc.edu http://lists.cs.uiuc.edu/mailman/listinfo/llvm-commits