Searched refs:Lim (Results 1 – 4 of 4) sorted by relevance
| /llvm-project-15.0.7/libcxx/test/libcxx/numerics/ |
| H A D | clamp_to_integral.pass.cpp | 22 typedef std::numeric_limits<IntT> Lim; in test() typedef 34 {Lim::lowest(), Lim::lowest(), true}, in test() 35 {static_cast<double>(Lim::max()), Lim::max(), MaxIsRepresentable}, in test() 36 {static_cast<double>(Lim::max()) + 1, Lim::max(), false}, in test() 37 {static_cast<double>(Lim::max()) + 1024, Lim::max(), false}, in test() 38 {nextafter(static_cast<double>(Lim::max()), INFINITY), Lim::max(), false}, in test() 47 assert(res == Lim::min() || res == Lim::max()); in test() 66 {Lim::lowest(), Lim::lowest(), true}, in test_float() 67 {static_cast<float>(Lim::max()), Lim::max(), MaxIsRepresentable }, in test_float() 68 {nextafter(static_cast<float>(Lim::max()), INFINITY), Lim::max(), false}, in test_float() [all …]
|
| /llvm-project-15.0.7/libcxx/test/libcxx/utilities/variant/variant.variant/ |
| H A D | variant_size.pass.cpp | 43 using Lim = std::numeric_limits<IndexType>; in test_index_type() typedef 44 using T1 = make_variant_t<Lim::max() - 1>; in test_index_type() 45 using T2 = make_variant_t<Lim::max()>; in test_index_type() 51 using Lim = std::numeric_limits<IndexType>; in test_index_internals() typedef 52 static_assert(std::__choose_index_type(Lim::max() -1) != in test_index_internals() 53 std::__choose_index_type(Lim::max()), ""); in test_index_internals() 55 std::__variant_index_t<Lim::max()-1>, in test_index_internals() 56 std::__variant_index_t<Lim::max()> in test_index_internals() 58 using IndexT = std::__variant_index_t<Lim::max()-1>; in test_index_internals()
|
| /llvm-project-15.0.7/llvm/lib/ObjectYAML/ |
| H A D | WasmEmitter.cpp | 118 static int writeLimits(const WasmYAML::Limits &Lim, raw_ostream &OS) { in writeLimits() argument 119 writeUint8(OS, Lim.Flags); in writeLimits() 120 encodeULEB128(Lim.Minimum, OS); in writeLimits() 121 if (Lim.Flags & wasm::WASM_LIMITS_FLAG_HAS_MAX) in writeLimits() 122 encodeULEB128(Lim.Maximum, OS); in writeLimits()
|
| /llvm-project-15.0.7/libcxx/src/filesystem/ |
| H A D | filesystem_common.h | 390 using Lim = numeric_limits<CType>; 391 if (time > Lim::max() || time < Lim::min())
|