Home
last modified time | relevance | path

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

/freebsd/contrib/llvm-project/libc/src/__support/fixed_point/
H A Dfx_bits.h122 using BitType = typename FXRep<T>::StorageType; in bit_and() local
123 BitType x_bit = cpp::bit_cast<BitType>(x); in bit_and()
124 BitType y_bit = cpp::bit_cast<BitType>(y); in bit_and()
126 return cpp::bit_cast<T, BitType>(x_bit & y_bit); in bit_and()
132 using BitType = typename FXRep<T>::StorageType; in bit_or() local
133 BitType x_bit = cpp::bit_cast<BitType>(x); in bit_or()
134 BitType y_bit = cpp::bit_cast<BitType>(y); in bit_or()
136 return cpp::bit_cast<T, BitType>(x_bit | y_bit); in bit_or()
142 using BitType = typename FXRep<T>::StorageType; in bit_not() local
143 BitType x_bit = cpp::bit_cast<BitType>(x); in bit_not()
[all …]
H A Dsqrt.h184 using BitType = typename FXRep<T>::StorageType;
185 BitType x_bit = cpp::bit_cast<BitType>(x);
191 constexpr int STORAGE_LENGTH = sizeof(BitType) * CHAR_BIT;