[libc-commits] [libc] [libc][NFC] Move functions from `FPBits` to `FPRep`, make `bits` member private (PR #79974)

Clement Courbet via libc-commits libc-commits at lists.llvm.org
Tue Jan 30 05:05:50 PST 2024


================
@@ -652,6 +655,44 @@ struct FPRep : public FPRepSem<fp_type, RetT> {
     bits = merge(bits, mantVal, FRACTION_MASK);
   }
 
+  // TODO: Use an uint32_t for 'biased_exp'.
+  LIBC_INLINE static constexpr RetT
+  create_value(Sign sign, StorageType biased_exp, StorageType mantissa) {
----------------
legrosbuffle wrote:

Doc ?

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


More information about the libc-commits mailing list