[libc-commits] [PATCH] D152459: [libc] Add Int<> type and fix (U)Int<128> compatibility issues.
Tue Ly via Phabricator via libc-commits
libc-commits at lists.llvm.org
Fri Jun 9 18:34:16 PDT 2023
lntue added inline comments.
================
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;
----------------
michaelrj wrote:
> would it be possible to add a template version of this initializer for the primitive uint128?
I added conversion to and from `__(u)int128_t`.
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