Home
last modified time | relevance | path

Searched refs:PrecisionBits (Results 1 – 2 of 2) sorted by relevance

/external/llvm-project/clang-tools-extra/docs/clang-tidy/checks/
Dcppcoreguidelines-narrowing-conversions.rst51 [-2^PrecisionBits, 2^PrecisionBits] where PrecisionBits is the number of bits in
/external/llvm-project/clang-tools-extra/clang-tidy/cppcoreguidelines/
DNarrowingConversionsCheck.cpp134 unsigned PrecisionBits = llvm::APFloatBase::semanticsPrecision( in createFromType() local
145 llvm::APSInt UpperValue(PrecisionBits + 2, /*isUnsigned*/ false); in createFromType()
146 UpperValue.setBit(PrecisionBits); in createFromType()
147 llvm::APSInt LowerValue(PrecisionBits + 2, /*isUnsigned*/ false); in createFromType()
148 LowerValue.setBit(PrecisionBits); in createFromType()