[libc] [llvm] [libc] Refactor `BigInt` (PR #86137)

Clement Courbet via llvm-commits llvm-commits at lists.llvm.org
Fri Mar 22 07:00:21 PDT 2024


================
@@ -169,6 +169,15 @@ LIBC_INLINE constexpr auto operator""_u256(const char *x) {
   return internal::parse_with_prefix<UInt<256>>(x);
 }
 
+template <typename T> LIBC_INLINE constexpr T parse_bigint(const char *x) {
----------------
legrosbuffle wrote:

Can you add tests for this (against bigints created form arrays) ?

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


More information about the llvm-commits mailing list