llvm-capstone/libcxx
Hristo Hristov 03c19e91e8
[libc++][numeric] P0543R3: Saturation arithmetic (#77967)
Implements: https://wg21.link/P0543R3
- https://eel.is/c++draft/numeric.sat

Additional references:
- Division: https://eel.is/c++draft/expr.mul#4
- Arithmetic conversions: https://eel.is/c++draft/expr.arith.conv#1
- Clang builtins:
https://clang.llvm.org/docs/LanguageExtensions.html#builtin-functions

Depends on: https://github.com/llvm/llvm-project/pull/78086

---------

Co-authored-by: Zingam <zingam@outlook.com>
Co-authored-by: Mark de Wever <zar-rpg@xs4all.nl>
2024-01-22 06:57:45 +02:00
..
benchmarks [libc++] Implement ranges::contains (#65148) 2023-12-19 16:34:19 -08:00
cmake [libc++] Install modules. (#75741) 2024-01-21 12:16:22 +01:00
docs [libc++][numeric] P0543R3: Saturation arithmetic (#77967) 2024-01-22 06:57:45 +02:00
include [libc++][numeric] P0543R3: Saturation arithmetic (#77967) 2024-01-22 06:57:45 +02:00
lib [libc++][Android] Add NDK ABI lists for i686 and x86_64 (#69272) 2024-01-12 13:00:16 -08:00
modules [libc++][numeric] P0543R3: Saturation arithmetic (#77967) 2024-01-22 06:57:45 +02:00
src [NFC][libc++] tab -> space 2024-01-21 12:27:21 +01:00
test [libc++][numeric] P0543R3: Saturation arithmetic (#77967) 2024-01-22 06:57:45 +02:00
utils [libc++][numeric] P0543R3: Saturation arithmetic (#77967) 2024-01-22 06:57:45 +02:00
vendor/llvm [libc++][hardening] In production hardening modes, trap rather than abort (#78561) 2024-01-19 13:48:13 -08:00
.clang-format [libc++][memory] P2868R1: Removing deprecated typedef std::allocator::is_always_equal (#78562) 2024-01-20 06:07:19 +02:00
.clang-tidy [libc++] Clang-tidy enable modernize-use-nullptr. 2024-01-21 13:08:18 +01:00
.gitignore
appveyor-reqs-install.cmd
appveyor.yml Remove lit's --summary flag from buildbots. 2023-08-31 14:23:51 -04:00
CMakeLists.txt [libc++] Install modules. (#75741) 2024-01-21 12:16:22 +01:00
CREDITS.TXT [libcxx] Add mdspan/extents 2023-05-16 14:30:36 -07:00
LICENSE.TXT
TODO.TXT