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

via libc-commits libc-commits at lists.llvm.org
Mon Feb 24 14:35:54 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.
----------------
PiJoules wrote:

Is the `from` -> `T` here intentional?

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


More information about the libc-commits mailing list