We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 7a9fd62 commit 6a125afCopy full SHA for 6a125af
libc/src/__support/FPUtil/dyadic_float.h
@@ -175,7 +175,7 @@ template <size_t Bits> struct DyadicFloat {
175
LIBC_INLINE constexpr cpp::enable_if_t<
176
cpp::is_floating_point_v<T> && (FPBits<T>::FRACTION_LEN < Bits), T>
177
generic_as() const {
178
- using FPBits = FPBits<float16>;
+ using FPBits = FPBits<T>;
179
using StorageType = typename FPBits::StorageType;
180
181
constexpr int EXTRA_FRACTION_LEN = Bits - 1 - FPBits::FRACTION_LEN;
0 commit comments