[all-commits] [llvm/llvm-project] 2b677f: [libc][NFC] Simplify BigInt (#81992)
Guillaume Chatelet via All-commits
all-commits at lists.llvm.org
Fri Feb 16 06:54:08 PST 2024
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: 2b677fa4b35368442b32c71153f8c9201522c97c
https://github.com/llvm/llvm-project/commit/2b677fa4b35368442b32c71153f8c9201522c97c
Author: Guillaume Chatelet <gchatelet at google.com>
Date: 2024-02-16 (Fri, 16 Feb 2024)
Changed paths:
M libc/src/__support/CPP/array.h
M libc/src/__support/UInt.h
Log Message:
-----------
[libc][NFC] Simplify BigInt (#81992)
- Add a single `cmp` function to derive all comparison operators
- Use the `friend` version of the member functions for symmetry
- Add a `is_neg` function to factor sign extraction
- Implement binary op through macro expansion
To unsubscribe from these emails, change your notification settings at https://github.com/llvm/llvm-project/settings/notifications
More information about the All-commits
mailing list