diff options
Diffstat (limited to 'llvm/docs')
-rw-r--r-- | llvm/docs/LangRef.rst | 7 |
1 files changed, 2 insertions, 5 deletions
diff --git a/llvm/docs/LangRef.rst b/llvm/docs/LangRef.rst index 4d51614672c..550e86b0502 100644 --- a/llvm/docs/LangRef.rst +++ b/llvm/docs/LangRef.rst @@ -10076,11 +10076,8 @@ Overview: """"""""" The '``llvm.sqrt``' intrinsics return the sqrt of the specified operand, -returning the same value as the libm '``sqrt``' functions would. Unlike -``sqrt`` in libm, however, ``llvm.sqrt`` has undefined behavior for -negative numbers other than -0.0 (which allows for better optimization, -because there is no need to worry about errno being set). -``llvm.sqrt(-0.0)`` is defined to return -0.0 like IEEE sqrt. +returning the same value as the libm '``sqrt``' functions would, but without +trapping or setting ``errno``. Arguments: """""""""" |