Searched refs:SrcLimits (Results 1 – 4 of 4) sorted by relevance
49 typedef numeric_limits<Src> SrcLimits; in GetMaxConvertibleToFloat() typedef50 static_assert(SrcLimits::is_specialized, "Source must be numeric."); in GetMaxConvertibleToFloat()54 if (SrcLimits::digits <= DstLimits::digits && in GetMaxConvertibleToFloat()56 return SrcLimits::max(); in GetMaxConvertibleToFloat()57 Src max = SrcLimits::max() / 2 + (SrcLimits::is_integer ? 1 : 0); in GetMaxConvertibleToFloat()316 typedef numeric_limits<Src> SrcLimits; in Test() typedef319 static_assert((DstLimits::is_iec559 && SrcLimits::is_integer) || in Test()321 (!(DstLimits::is_integer && SrcLimits::is_iec559) && in Test()323 ((SrcLimits::is_signed == DstLimits::is_signed && in Test()329 const CheckedNumeric<Dst> checked_dst = SrcLimits::max(); in Test()[all …]
139 typedef typename std::numeric_limits<Src> SrcLimits;145 SrcLimits::digits < DstLimits::digits &&146 SrcLimits::is_iec559 &&148 ? (DstLimits::digits - SrcLimits::digits)
49 typedef std::numeric_limits<Src> SrcLimits;54 static const size_t kSrcMaxExponent = SrcLimits::is_iec559 ?55 SrcLimits::max_exponent :70 typedef std::numeric_limits<Src> SrcLimits;162 typedef std::numeric_limits<Src> SrcLimits;165 static const size_t kSrcMaxExponent = SrcLimits::is_iec559 ?166 SrcLimits::max_exponent :
191 using SrcLimits = std::numeric_limits<Src>;197 SrcLimits::digits < DstLimits::digits)198 ? (DstLimits::digits - SrcLimits::digits)257 using SrcLimits = std::numeric_limits<Src>;260 static_cast<Dst>(SrcLimits::lowest()) >= DstLimits::lowest() ||262 static_cast<Dst>(SrcLimits::max()) <= DstLimits::max() ||328 using SrcLimits = std::numeric_limits<Src>;334 static_cast<Promotion>(SrcLimits::max()) <=