[llvm-commits] CVS: llvm/lib/CodeGen/LiveIntervalAnalysis.cpp RegAllocLinearScan.cpp
Chris Lattner
clattner at apple.com
Wed Nov 8 13:24:45 PST 2006
On Nov 8, 2006, at 9:24 AM, Bill Wendling wrote:
> On 11/8/06, Jim Laskey <jlaskey at apple.com> 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
More information about the llvm-commits
mailing list