Lines Matching refs:kOverflow
44 static_assert(cast_safety<int8_t>(128u) == CastSafety::kOverflow);
47 static_assert(cast_safety<int32_t>(static_cast<float>(INT32_MAX)) == CastSafety::kOverflow);
57 static_assert(cast_safety<uint32_t>(max<uint64_t>) == CastSafety::kOverflow);
59 CastSafety::kOverflow);
65 static_assert(cast_safety<int16_t>(max<uint16_t>) == CastSafety::kOverflow);
70 CastSafety::kOverflow);
79 static_assert(cast_safety<uint32_t>(max<int64_t>) == CastSafety::kOverflow);
84 CastSafety::kOverflow);
91 static_assert(cast_safety<int8_t>(128) == CastSafety::kOverflow);
97 static_assert(cast_safety<int32_t>(max<int64_t>) == CastSafety::kOverflow);
105 static_assert(cast_safety<float>(max<double>) == CastSafety::kOverflow);
111 CastSafety::kOverflow); in TEST()
134 static_assert(cast_safety<uint32_t>(max<float>) == CastSafety::kOverflow);
138 static_assert(cast_safety<uint32_t>(inf<float>) == CastSafety::kOverflow);
139 static_assert(cast_safety<uint64_t>(NaN<float>) == CastSafety::kOverflow);
142 static_assert(cast_safety<uint32_t>(static_cast<float>(max<uint32_t>)) == CastSafety::kOverflow);
148 static_assert(cast_safety<uint64_t>(max<double>) == CastSafety::kOverflow);
152 static_assert(cast_safety<uint64_t>(static_cast<float>(max<uint64_t>)) == CastSafety::kOverflow);
154 static_assert(cast_safety<uint64_t>(static_cast<double>(max<uint64_t>)) == CastSafety::kOverflow);
160 static_assert(cast_safety<int32_t>(max<float>) == CastSafety::kOverflow);
163 static_assert(cast_safety<int32_t>(inf<double>) == CastSafety::kOverflow);
164 static_assert(cast_safety<int64_t>(NaN<double>) == CastSafety::kOverflow);
167 static_assert(cast_safety<int32_t>(static_cast<float>(max<int32_t>)) == CastSafety::kOverflow);
173 static_assert(cast_safety<int64_t>(max<double>) == CastSafety::kOverflow);
176 static_assert(cast_safety<int64_t>(static_cast<float>(max<int64_t>)) == CastSafety::kOverflow);
178 static_assert(cast_safety<int64_t>(static_cast<double>(max<int64_t>)) == CastSafety::kOverflow);
193 CastSafety::kOverflow); in TEST()
197 CastSafety::kOverflow); in TEST()