[libc-commits] [libc] [libc][stdfix] Implement fixed point bitsfx functions in llvm libc (PR #128413)

Krishna Pandey via libc-commits libc-commits at lists.llvm.org
Wed Feb 26 12:35:59 PST 2025


================
@@ -121,7 +121,7 @@ bit_and(T x, T y) {
   using BitType = typename FXRep<T>::StorageType;
   BitType x_bit = cpp::bit_cast<BitType>(x);
   BitType y_bit = cpp::bit_cast<BitType>(y);
-  // For some reason, bit_cast cannot deduce BitType from the input.
+  // For some reason, bit_cast cannot deduce BitType T the input.
----------------
krishna2803 wrote:

fixed in [6bd83934](https://github.com/llvm/llvm-project/pull/128413/commits/6bd83934dad9a71a7f51ab832523b9f634e75d6c)

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


More information about the libc-commits mailing list