[libc-commits] [PATCH] D152459: [libc] Add Int<> type and fix (U)Int<128> compatibility issues.

Michael Jones via Phabricator via libc-commits libc-commits at lists.llvm.org
Fri Jun 9 14:22:22 PDT 2023


michaelrj added a comment.

overall LGTM



================
Comment at: libc/src/__support/UInt.h:77
+            typename = cpp::enable_if_t<is_integral_v<T> && sizeof(T) <= 8>>
+  constexpr BigInt(T v) {
     val[0] = v;
----------------
would it be possible to add a template version of this initializer for the primitive uint128?


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D152459/new/

https://reviews.llvm.org/D152459



More information about the libc-commits mailing list