[libc-commits] [libc] [libc] Add max length argument to decimal to float (PR #84091)

via libc-commits libc-commits at lists.llvm.org
Tue Mar 5 21:49:54 PST 2024


================
@@ -186,19 +188,19 @@ class HighPrecisionDecimal {
   }
 
   // Perform a digitwise binary non-rounding right shift on this value by
-  // shiftAmount. The shiftAmount can't be more than MAX_SHIFT_AMOUNT to prevent
-  // overflow.
-  void right_shift(uint32_t shiftAmount) {
+  // shift_amount. The shift_amount can't be more than MAX_SHIFT_AMOUNT to
----------------
lntue wrote:

Do you mind putting the clang-tidy fixes to a separate commit next time, since they take a significant part of the diff?

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


More information about the libc-commits mailing list