[llvm] [LangRef] make consequences of NaN rules for pow(i) more explicit (PR #170177)

Matt Arsenault via llvm-commits llvm-commits at lists.llvm.org
Tue Dec 2 16:50:45 PST 2025


================
@@ -16831,6 +16836,11 @@ trapping or setting ``errno``.
 When specified with the fast-math-flag 'afn', the result may be approximated
 using a less accurate calculation.
 
+Note that due to how :ref:`LLVM treats NaN values <floatnan>`, the special cases
----------------
arsenm wrote:

Oh, I see IEEE has the signaling nan case explicitly called out in the pow cases unlike the libm docs 

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


More information about the llvm-commits mailing list