[libc] [llvm] [libc] Add `next_toward_inf` fo `FPBits` (PR #80654)

Guillaume Chatelet via llvm-commits llvm-commits at lists.llvm.org
Mon Feb 5 02:44:27 PST 2024


================
@@ -435,6 +445,13 @@ struct FPRepSem : public FPStorage<fp_type> {
   LIBC_INLINE constexpr bool is_normal() const {
     return is_finite() && !is_subnormal();
   }
+
+  // Modifiers
+  LIBC_INLINE constexpr void next_toward_inf() {
----------------
gchatelet wrote:

Done

https://github.com/llvm/llvm-project/pull/80654


More information about the llvm-commits mailing list