[llvm] r299991 - Minor updates to floating point intrinsic documentation
Andrew Kaylor via llvm-commits
llvm-commits at lists.llvm.org
Tue Apr 11 14:52:41 PDT 2017
Author: akaylor
Date: Tue Apr 11 16:52:40 2017
New Revision: 299991
URL: http://llvm.org/viewvc/llvm-project?rev=299991&view=rev
Log:
Minor updates to floating point intrinsic documentation
Modified:
llvm/trunk/docs/LangRef.rst
Modified: llvm/trunk/docs/LangRef.rst
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/docs/LangRef.rst?rev=299991&r1=299990&r2=299991&view=diff
==============================================================================
--- llvm/trunk/docs/LangRef.rst (original)
+++ llvm/trunk/docs/LangRef.rst Tue Apr 11 16:52:40 2017
@@ -10275,21 +10275,20 @@ all types however.
Overview:
"""""""""
-The '``llvm.sqrt``' intrinsics return the sqrt of the specified operand,
+The '``llvm.sqrt``' intrinsics return the square root of the specified value,
returning the same value as the libm '``sqrt``' functions would, but without
trapping or setting ``errno``.
Arguments:
""""""""""
-The argument and return value are floating point numbers of the same
-type.
+The argument and return value are floating point numbers of the same type.
Semantics:
""""""""""
-This function returns the sqrt of the specified operand if it is a
-nonnegative floating point number.
+This function returns the square root of the operand if it is a nonnegative
+floating point number.
'``llvm.powi.*``' Intrinsic
^^^^^^^^^^^^^^^^^^^^^^^^^^^
@@ -10355,8 +10354,7 @@ The '``llvm.sin.*``' intrinsics return t
Arguments:
""""""""""
-The argument and return value are floating point numbers of the same
-type.
+The argument and return value are floating point numbers of the same type.
Semantics:
""""""""""
@@ -10391,8 +10389,7 @@ The '``llvm.cos.*``' intrinsics return t
Arguments:
""""""""""
-The argument and return value are floating point numbers of the same
-type.
+The argument and return value are floating point numbers of the same type.
Semantics:
""""""""""
@@ -10459,13 +10456,13 @@ all types however.
Overview:
"""""""""
-The '``llvm.exp.*``' intrinsics perform the exp function.
+The '``llvm.exp.*``' intrinsics compute the base-e exponential of the specified
+value.
Arguments:
""""""""""
-The argument and return value are floating point numbers of the same
-type.
+The argument and return value are floating point numbers of the same type.
Semantics:
""""""""""
@@ -10494,13 +10491,13 @@ all types however.
Overview:
"""""""""
-The '``llvm.exp2.*``' intrinsics perform the exp2 function.
+The '``llvm.exp2.*``' intrinsics compute the base-2 exponential of the
+specified value.
Arguments:
""""""""""
-The argument and return value are floating point numbers of the same
-type.
+The argument and return value are floating point numbers of the same type.
Semantics:
""""""""""
@@ -10529,13 +10526,13 @@ all types however.
Overview:
"""""""""
-The '``llvm.log.*``' intrinsics perform the log function.
+The '``llvm.log.*``' intrinsics compute the base-e logarithm of the specified
+value.
Arguments:
""""""""""
-The argument and return value are floating point numbers of the same
-type.
+The argument and return value are floating point numbers of the same type.
Semantics:
""""""""""
@@ -10564,13 +10561,13 @@ all types however.
Overview:
"""""""""
-The '``llvm.log10.*``' intrinsics perform the log10 function.
+The '``llvm.log10.*``' intrinsics compute the base-10 logarithm of the
+specified value.
Arguments:
""""""""""
-The argument and return value are floating point numbers of the same
-type.
+The argument and return value are floating point numbers of the same type.
Semantics:
""""""""""
@@ -10599,13 +10596,13 @@ all types however.
Overview:
"""""""""
-The '``llvm.log2.*``' intrinsics perform the log2 function.
+The '``llvm.log2.*``' intrinsics compute the base-2 logarithm of the specified
+value.
Arguments:
""""""""""
-The argument and return value are floating point numbers of the same
-type.
+The argument and return value are floating point numbers of the same type.
Semantics:
""""""""""
More information about the llvm-commits
mailing list