Lines Matching refs:Dst

50     typename Dst,
52 IntegerRepresentation DstSign = std::numeric_limits<Dst>::is_signed
63 template <typename Dst, typename Src, IntegerRepresentation Sign>
64 struct StaticDstRangeRelationToSrcRange<Dst, Src, Sign, Sign> {
66 MaxExponent<Dst>::value >= MaxExponent<Src>::value
73 template <typename Dst, typename Src>
74 struct StaticDstRangeRelationToSrcRange<Dst,
79 MaxExponent<Dst>::value > MaxExponent<Src>::value
85 template <typename Dst, typename Src>
86 struct StaticDstRangeRelationToSrcRange<Dst,
117 typename Dst,
119 IntegerRepresentation DstSign = std::numeric_limits<Dst>::is_signed
126 StaticDstRangeRelationToSrcRange<Dst, Src>::value >
134 template <typename Dst,
138 struct DstRangeRelationToSrcRangeImpl<Dst,
148 template <typename Dst, typename Src>
149 struct DstRangeRelationToSrcRangeImpl<Dst,
155 return std::numeric_limits<Dst>::is_iec559
156 ? GetRangeConstraint(value <= std::numeric_limits<Dst>::max(),
157 value >= -std::numeric_limits<Dst>::max())
158 : GetRangeConstraint(value <= std::numeric_limits<Dst>::max(),
159 value >= std::numeric_limits<Dst>::min());
164 template <typename Dst, typename Src>
165 struct DstRangeRelationToSrcRangeImpl<Dst,
171 return GetRangeConstraint(value <= std::numeric_limits<Dst>::max(), true);
176 template <typename Dst, typename Src>
177 struct DstRangeRelationToSrcRangeImpl<Dst,
183 return sizeof(Dst) > sizeof(Src)
186 value <= static_cast<Src>(std::numeric_limits<Dst>::max()),
193 template <typename Dst, typename Src>
194 struct DstRangeRelationToSrcRangeImpl<Dst,
200 return (MaxExponent<Dst>::value >= MaxExponent<Src>::value)
203 value <= static_cast<Src>(std::numeric_limits<Dst>::max()),
208 template <typename Dst, typename Src>
212 STATIC_ASSERT(std::numeric_limits<Dst>::is_specialized);
213 return DstRangeRelationToSrcRangeImpl<Dst, Src>::Check(value);