[libc-commits] [PATCH] D131095: [libc] Prevent overflow from intermediate results when adding UInt<N> values.
Tue Ly via Phabricator via libc-commits
libc-commits at lists.llvm.org
Wed Aug 3 12:45:47 PDT 2022
lntue created this revision.
lntue added reviewers: michaelrj, sivachandra, orex.
Herald added subscribers: ecnelises, tschuett.
Herald added projects: libc-project, All.
lntue requested review of this revision.
Prevent overflow from intermediate results when adding UInt<N> values.
Repository:
rG LLVM Github Monorepo
https://reviews.llvm.org/D131095
Files:
libc/src/__support/CPP/UInt.h
libc/test/src/__support/uint128_test.cpp
libc/utils/UnitTest/LibcTest.cpp
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D131095.449745.patch
Type: text/x-patch
Size: 3731 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/libc-commits/attachments/20220803/04bb51d6/attachment.bin>
More information about the libc-commits
mailing list