commit | e89540ba093a7769611133ba56d8c20611ca1a1c | [log] [tgz] |
---|---|---|
author | Hristo Hristov <hristo.goshev.hristov@gmail.com> | Mon Jan 22 06:57:45 2024 +0200 |
committer | Copybara-Service <copybara-worker@google.com> | Sun Jan 21 21:04:17 2024 -0800 |
tree | a430d7870ededc1bbeccbe5cb7d2a0db8a56406c | |
parent | b2df6df28a7d342645577361e16499670470ff9c [diff] |
[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> GitOrigin-RevId: 03c19e91e8d8cb706b58e02d69f80caeaf7eb0f4