[llvm-commits] CVS: llvm/include/llvm/Support/DataTypes.h.in

Chris Lattner clattner at apple.com
Wed Nov 8 09:41:25 PST 2006


>
> #ifndef HUGE_VALF
> #ifndef HUGE_VAL
> #ifndef MAX_FLT
> #warning don't know how to define HUGE_VALF
> #else
> #define HUGE_VALF MAX_FLT
> #endif
> #else
> #define HUGE_VALF (float)HUGE_VAL
> #endif
> #endif

More significantly, neither of these will work unless you #include  
<cmath> and/or float.h.

-Chris



More information about the llvm-commits mailing list