Searched refs:SrcLimits (Results 1 – 5 of 5) sorted by relevance
50 typedef numeric_limits<Src> SrcLimits; in GetMaxConvertibleToFloat() typedef51 static_assert(SrcLimits::is_specialized, "Source must be numeric."); in GetMaxConvertibleToFloat()55 if (SrcLimits::digits <= DstLimits::digits && in GetMaxConvertibleToFloat()57 return SrcLimits::max(); in GetMaxConvertibleToFloat()58 Src max = SrcLimits::max() / 2 + (SrcLimits::is_integer ? 1 : 0); in GetMaxConvertibleToFloat()339 typedef numeric_limits<Src> SrcLimits; in Test() typedef342 static_assert((DstLimits::is_iec559 && SrcLimits::is_integer) || in Test()344 (!(DstLimits::is_integer && SrcLimits::is_iec559) && in Test()346 ((SrcLimits::is_signed == DstLimits::is_signed && in Test()352 const CheckedNumeric<Dst> checked_dst = SrcLimits::max(); in Test()[all …]
137 typedef typename std::numeric_limits<Src> SrcLimits;146 SrcLimits::digits < DstLimits::digits && SrcLimits::is_iec559 &&148 ? (DstLimits::digits - SrcLimits::digits)
46 typedef numeric_limits<Src> SrcLimits; in GetMaxConvertibleToFloat() typedef47 static_assert(SrcLimits::is_specialized, "Source must be numeric."); in GetMaxConvertibleToFloat()51 if (SrcLimits::digits <= DstLimits::digits && in GetMaxConvertibleToFloat()53 return SrcLimits::max(); in GetMaxConvertibleToFloat()54 Src max = SrcLimits::max() / 2 + (SrcLimits::is_integer ? 1 : 0); in GetMaxConvertibleToFloat()335 typedef numeric_limits<Src> SrcLimits; in Test() typedef338 static_assert((DstLimits::is_iec559 && SrcLimits::is_integer) || in Test()340 (!(DstLimits::is_integer && SrcLimits::is_iec559) && in Test()342 ((SrcLimits::is_signed == DstLimits::is_signed && in Test()348 const CheckedNumeric<Dst> checked_dst = SrcLimits::max(); in Test()[all …]
135 typedef typename std::numeric_limits<Src> SrcLimits;144 SrcLimits::digits < DstLimits::digits && SrcLimits::is_iec559 &&146 ? (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 :