aboutsummaryrefslogtreecommitdiff
path: root/llvm
diff options
context:
space:
mode:
authorAndrew Kaylor <andrew.kaylor@intel.com>2017-04-11 21:52:40 +0000
committerAndrew Kaylor <andrew.kaylor@intel.com>2017-04-11 21:52:40 +0000
commitcaf24d2b6c8c51d103a4bde06a6ab81a4b2866fb (patch)
treed4841534f4d9821ff63a068e2d0590a79824310a /llvm
parent30efd24d785a10ef57284a82c38d989b5198a0a0 (diff)
downloadllvm-caf24d2b6c8c51d103a4bde06a6ab81a4b2866fb.zip
llvm-caf24d2b6c8c51d103a4bde06a6ab81a4b2866fb.tar.gz
llvm-caf24d2b6c8c51d103a4bde06a6ab81a4b2866fb.tar.bz2
Minor updates to floating point intrinsic documentation
llvm-svn: 299991
Diffstat (limited to 'llvm')
-rw-r--r--llvm/docs/LangRef.rst45
1 files changed, 21 insertions, 24 deletions
diff --git a/llvm/docs/LangRef.rst b/llvm/docs/LangRef.rst
index e68b1a8..c65c9ee 100644
--- a/llvm/docs/LangRef.rst
+++ b/llvm/docs/LangRef.rst
@@ -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 the sine of the operand.
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 the cosine of the operand.
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:
""""""""""