[libc] Add subtraction for UInt<N> class.
authorTue Ly <lntue@google.com>
Thu, 4 Aug 2022 20:04:14 +0000 (16:04 -0400)
committerTue Ly <lntue@google.com>
Fri, 5 Aug 2022 00:37:43 +0000 (20:37 -0400)
commitc308a88716422b626e4141e29164ac032ae4ce07
tree01bc77f509e96e7f8ec10cf0fd1e080adcae74d1
parent6fb744be76704f075a4edc753916e0e475d10f20
[libc] Add subtraction for UInt<N> class.

Add subtraction operators (-, -=) for UInt<N> class.

Reviewed By: michaelrj, orex

Differential Revision: https://reviews.llvm.org/D131196
libc/src/__support/CPP/UInt.h
libc/test/src/__support/uint128_test.cpp