We know (float)HUGE_VAL works because that's where we started.
-- Jim On Nov 8, 2006, at 1:41 PM, Chris Lattner wrote:
#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 #endifMore significantly, neither of these will work unless you #include <cmath> and/or float.h.-Chris
smime.p7s
Description: S/MIME cryptographic signature
_______________________________________________ llvm-commits mailing list llvm-commits@cs.uiuc.edu http://lists.cs.uiuc.edu/mailman/listinfo/llvm-commits