Unverified Commit 03c19e91 authored by Hristo Hristov's avatar Hristo Hristov Committed by GitHub
Browse files

[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: default avatarZingam <zingam@outlook.com>
Co-authored-by: default avatarMark de Wever <zar-rpg@xs4all.nl>
parent 85337df9
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment