2008-10-01 Andrew Pinski <andrew_pinski@playstation.sony.com>
* config/locale/generic/c_locale.cc (__convert_to_v): Fix
!__FLT_HAS_INFINITY__ case.
From-SVN: r140823
+2008-10-01 Andrew Pinski <andrew_pinski@playstation.sony.com>
+
+ * config/locale/generic/c_locale.cc (__convert_to_v): Fix
+ !__FLT_HAS_INFINITY__ case.
+
2008-09-30 Chris Fairles <cfairles@gcc.gnu.org>
* include/std/tuple (tuple<>::swap): Implement swap for tuple as per
else if (__overflow
#if __FLT_HAS_INFINITY__
|| __v == numeric_limits<float>::infinity()
- || __v == -numeric_limits<float>::infinity())
+ || __v == -numeric_limits<float>::infinity()
#else
|| ((__v > 1.0f || __v < -1.0f) && errno == ERANGE)
#endif
+ )
{
if (__v > 0.0f)
__v = numeric_limits<float>::max();