[llvm-commits] CVS: llvm/lib/CodeGen/LiveIntervalAnalysis.cpp RegAllocLinearScan.cpp

Bill Wendling isanbard at gmail.com
Wed Nov 8 09:24:29 PST 2006


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?

-bw



More information about the llvm-commits mailing list