Lines Matching refs:FPBits
25 using FPBits = __llvm_libc::fputil::FPBits<T>; variable
26 using UIntType = typename FPBits::UIntType;
27 const T nan = T(__llvm_libc::fputil::FPBits<T>::build_nan(1));
28 const T inf = T(__llvm_libc::fputil::FPBits<T>::inf());
29 const T neg_inf = T(__llvm_libc::fputil::FPBits<T>::neg_inf());
30 const T zero = T(__llvm_libc::fputil::FPBits<T>::zero());
31 const T neg_zero = T(__llvm_libc::fputil::FPBits<T>::neg_zero());
50 UIntType max_value = FPBits::MAX_SUBNORMAL << scale; in test_subnormal_range()
51 UIntType step = (max_value - FPBits::MIN_SUBNORMAL) / COUNT; in test_subnormal_range()
53 for (UIntType v = FPBits::MIN_SUBNORMAL, w = max_value; in test_subnormal_range()
54 v <= max_value && w >= FPBits::MIN_SUBNORMAL; in test_subnormal_range()
56 T x = T(FPBits(v)), y = T(FPBits(w)); in test_subnormal_range()
74 constexpr UIntType STEP = (FPBits::MAX_NORMAL - FPBits::MIN_NORMAL) / COUNT; in test_normal_range()
76 for (UIntType v = FPBits::MIN_NORMAL, w = FPBits::MAX_NORMAL; in test_normal_range()
77 v <= FPBits::MAX_NORMAL && w >= FPBits::MIN_NORMAL; in test_normal_range()
79 T x = T(FPBits(v)), y = T(FPBits(w)); in test_normal_range()