[libc-commits] [libc] [libc] Make ffma functions constexpr (PR #226872)

via libc-commits libc-commits at lists.llvm.org
Sun Sep 27 20:47:01 PDT 2026


llvmorg-github-actions[bot] wrote:


<!--LLVM PR SUMMARY COMMENT-->

@llvm/pr-subscribers-libc

Author: Sam (user1342234)

<details>
<summary>Changes</summary>

Make ffma functions constexpr along with tests

Notes:
`libc/src/__support/FPUtil/generic/FMA.h` - The new check supports more types such as emulated `Float128`

---
Full diff: https://github.com/llvm/llvm-project/pull/226872.diff


6 Files Affected:

- (modified) libc/src/__support/FPUtil/FMA.h (+1-1) 
- (modified) libc/src/__support/FPUtil/generic/FMA.h (+9-9) 
- (modified) libc/src/__support/math/ffma.h (+1-1) 
- (modified) libc/src/__support/math/ffmaf128.h (+1-1) 
- (modified) libc/src/__support/math/ffmal.h (+1-1) 
- (modified) libc/test/shared/shared_math_constexpr_test.cpp (+5) 


``````````diff
The server is unavailable at this time. Please wait a few minutes before you try again.
``````````

</details>


https://github.com/llvm/llvm-project/pull/226872


More information about the libc-commits mailing list