[libc-commits] [libc] [libc][math][c23] Fix totalorderf128 requiring support for 128-bit ints (PR #101229)

via libc-commits libc-commits at lists.llvm.org
Tue Jul 30 12:29:16 PDT 2024


================
@@ -320,7 +321,7 @@ totalorder(T x, T y) {
   StorageType x_u = x_bits.uintval();
   StorageType y_u = y_bits.uintval();
 
-  using signed_t = cpp::make_signed_t<StorageType>;
+  using signed_t = make_integral_or_big_int_signed_t<StorageType>;
----------------
overmighty wrote:

For some reason `make_integral_or_big_int_signed_t` was not used anywhere in LLVM libc. I'm guessing it used to be referenced by code that was changed.

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


More information about the libc-commits mailing list