philnik777 wrote: This patch is actually really problematic for interoperability with C++ standard libraries and the implementation is non-conforming in C++, because it doesn't satisfy http://eel.is/c++draft/c.math#cmath.syn-3. https://github.com/llvm/llvm-project/pull/86206