Home
last modified time | relevance | path

Searched refs:dig (Results 1 – 6 of 6) sorted by relevance

/llvm-project-15.0.7/libcxx/test/std/numerics/bit/bitops.count/
H A Dcountl_zero.pass.cpp35 int dig = std::numeric_limits<T>::digits; in test() local
37 assert(std::countl_zero(T(0)) == dig); in test()
38 assert(std::countl_zero(T(1)) == dig - 1); in test()
39 assert(std::countl_zero(T(2)) == dig - 2); in test()
40 assert(std::countl_zero(T(3)) == dig - 2); in test()
41 assert(std::countl_zero(T(4)) == dig - 3); in test()
42 assert(std::countl_zero(T(5)) == dig - 3); in test()
43 assert(std::countl_zero(T(6)) == dig - 3); in test()
44 assert(std::countl_zero(T(7)) == dig - 3); in test()
45 assert(std::countl_zero(T(8)) == dig - 4); in test()
[all …]
/llvm-project-15.0.7/flang/runtime/
H A Dedit-input.cpp472 int dig{exponent / 1000}; in EditCommonRealInput() local
473 buffer[got++] = '0' + dig; in EditCommonRealInput()
475 dig = rest / 100; in EditCommonRealInput()
476 buffer[got++] = '0' + dig; in EditCommonRealInput()
477 rest -= 100 * dig; in EditCommonRealInput()
478 dig = rest / 10; in EditCommonRealInput()
479 buffer[got++] = '0' + dig; in EditCommonRealInput()
482 int dig{exponent / 100}; in EditCommonRealInput() local
483 buffer[got++] = '0' + dig; in EditCommonRealInput()
485 dig = rest / 10; in EditCommonRealInput()
[all …]
/llvm-project-15.0.7/flang/lib/Decimal/
H A Dbinary-to-decimal.cpp105 Digit dig{digit_[digits_ - 1]}; in ConvertToDecimal() local
108 Digit newDig{dig / 100}; in ConvertToDecimal()
109 auto d{static_cast<std::uint32_t>(dig) - in ConvertToDecimal()
111 dig = newDig; in ConvertToDecimal()
123 Digit dig{digit_[j]}; in ConvertToDecimal() local
126 Digit newDig{dig / 100}; in ConvertToDecimal()
127 auto d{static_cast<std::uint32_t>(dig) - in ConvertToDecimal()
129 dig = newDig; in ConvertToDecimal()
/llvm-project-15.0.7/clang/test/Analysis/
H A Dconversion.c209 int dig; in libraryFunction2() local
215 dig = n = code = 0; in libraryFunction2()
217 if (dig < 4 && dostuff()) in libraryFunction2()
/llvm-project-15.0.7/clang/test/Modules/
H A Dinferred-submodules.m13 void dig(void) { function
/llvm-project-15.0.7/clang/docs/
H A DInternalsManual.rst1430 a ``PointerType``, we can return that, otherwise we have to dig through the