llvm-capstone/libcxx/include/__numeric
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
..
accumulate.h [libc++] Format the code base (#74334) 2023-12-18 14:01:33 -05:00
adjacent_difference.h [libc++] Format the code base (#74334) 2023-12-18 14:01:33 -05:00
exclusive_scan.h [libc++] Format the code base (#74334) 2023-12-18 14:01:33 -05:00
gcd_lcm.h [libc++][hardening] Categorize assertions that produce incorrect results (#77183) 2024-01-20 23:38:02 -08:00
inclusive_scan.h [libc++] Format the code base (#74334) 2023-12-18 14:01:33 -05:00
inner_product.h [libc++] Format the code base (#74334) 2023-12-18 14:01:33 -05:00
iota.h [libc++] Format the code base (#74334) 2023-12-18 14:01:33 -05:00
midpoint.h [libc++] Fix ability to explicitly instantiate std::midpoint (#74217) 2023-12-20 11:53:19 +01:00
partial_sum.h [libc++] Format the code base (#74334) 2023-12-18 14:01:33 -05:00
pstl_reduce.h [libc++][PSTL] Overhaul exceptions handling 2023-10-06 23:01:30 +02:00
pstl_transform_reduce.h [libc++] Unify __is_trivial_equality_predicate and __is_trivial_plus_operation into __desugars_to (#68642) 2023-11-23 13:55:55 -05:00
reduce.h [libc++] Format the code base (#74334) 2023-12-18 14:01:33 -05:00
saturation_arithmetic.h [libc++][numeric] P0543R3: Saturation arithmetic (#77967) 2024-01-22 06:57:45 +02:00
transform_exclusive_scan.h [libc++] Format the code base (#74334) 2023-12-18 14:01:33 -05:00
transform_inclusive_scan.h [libc++] Format the code base (#74334) 2023-12-18 14:01:33 -05:00
transform_reduce.h [libc++] Format the code base (#74334) 2023-12-18 14:01:33 -05:00