From b66309b465ce85baa5d284a0a6ff7d01bbc6748d Mon Sep 17 00:00:00 2001 From: Andrew Kaylor Date: Tue, 11 Apr 2017 21:52:40 +0000 Subject: [PATCH] Minor updates to floating point intrinsic documentation git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@299991 91177308-0d34-0410-b5e6-96231b3b80d8 --- docs/LangRef.rst | 45 +++++++++++++++++++++------------------------ 1 file changed, 21 insertions(+), 24 deletions(-) diff --git a/docs/LangRef.rst b/docs/LangRef.rst index e68b1a80152..c65c9eef776 100644 --- a/docs/LangRef.rst +++ b/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: """""""""" -- 2.40.0