Lines Matching refs:limits
335 typedef numeric_limits<double> limits; in _Stl_atod() typedef
420 if (value == (ULL(1) << (limits::digits - 1))) { /* carry created normal number */ in _Stl_atod()
464 if (bexp > limits::max_exponent) { /* overflow */ in _Stl_atod()
465 return limits::infinity(); in _Stl_atod()
468 value &= ~(ULL(1) << (limits::digits - 1)); /* hide hidden bit */ in _Stl_atod()
485 typedef numeric_limits<D> limits; in _Stl_atodT() typedef
529 if ( bexp >= limits::min_exponent ) { /* not zero or denorm */ in _Stl_atodT()
530 if ( limits::digits < 64 ) { in _Stl_atodT()
532 uint64_t rest = vv.i64 & ((~ULL(0) / ULL(2)) >> (limits::digits - 1)); in _Stl_atodT()
548 …if ( (vv.i64 >> (limits::digits < 64 ? limits::digits : 0)) != 0 ) { /* carry all the way across */ in _Stl_atodT()
555 vv.i64 &= ~(ULL(1) << (limits::digits - 1)); /* hide hidden bit */ in _Stl_atodT()
571 if (bexp > limits::max_exponent) { /* overflow */ in _Stl_atodT()
572 return limits::infinity(); in _Stl_atodT()
589 if (bexp < -limits::digits) { /* guaranteed underflow */ in _Stl_atodT()
621 if (vv.i64 == (ULL(1) << (limits::digits - 1))) { /* carry created normal number */ in _Stl_atodT()
646 typedef numeric_limits<double> limits; in _Stl_string_to_double() typedef
647 const int max_digits = limits::digits10 + 2; in _Stl_string_to_double()
723 if ((exp + n - 1) < limits::min_exponent10) { in _Stl_string_to_double()
726 else if ((exp + n - 1) > limits::max_exponent10) { in _Stl_string_to_double()
727 x = limits::infinity(); in _Stl_string_to_double()
751 typedef numeric_limits<D> limits; in _Stl_string_to_doubleT() typedef
752 const int max_digits = limits::digits10; /* + 2 17 */; in _Stl_string_to_doubleT()
827 if ((exp + n - 1) < limits::min_exponent10) { in _Stl_string_to_doubleT()
829 } else if ((exp + n - 1) > limits::max_exponent10 ) { in _Stl_string_to_doubleT()
831 x = limits::infinity(); in _Stl_string_to_doubleT()