diff --git a/llvm/docs/LangRef.rst b/llvm/docs/LangRef.rst index e68b1a801521..c65c9eef7762 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: """"""""""