[libc-commits] [libc] [libc] Add `next_toward_inf` fo `FPBits` (PR #80654)
Guillaume Chatelet via libc-commits
libc-commits at lists.llvm.org
Mon Feb 5 02:09:19 PST 2024
================
@@ -266,6 +266,16 @@ template <FPType fp_type> struct FPStorage : public FPLayout<fp_type> {
LIBC_INLINE constexpr operator Exponent() const {
return Exponent(UP::value - EXP_BIAS);
}
+
+ LIBC_INLINE constexpr BiasedExponent &operator++() {
+ ++UP::value;
----------------
gchatelet wrote:
We used to not have an internal `assert` but it seems we do now :)
https://github.com/llvm/llvm-project/pull/80654
More information about the libc-commits
mailing list