aboutsummaryrefslogtreecommitdiff
path: root/libc
diff options
context:
space:
mode:
authorChris Gyurgyik <37983775+cgyurgyik@users.noreply.github.com>2020-07-08 11:56:21 -0400
committerGitHub <noreply@github.com>2020-07-08 11:56:21 -0400
commit9d8b4defd3c363ede4b2efc69dae7376d0bc5ffe (patch)
tree1d660f6af46a23b0e454d3df2b17a20d6bbb1bc9 /libc
parent481709e831b9e14793dea0a825ecc9cd5f1950ca (diff)
downloadllvm-9d8b4defd3c363ede4b2efc69dae7376d0bc5ffe.zip
llvm-9d8b4defd3c363ede4b2efc69dae7376d0bc5ffe.tar.gz
llvm-9d8b4defd3c363ede4b2efc69dae7376d0bc5ffe.tar.bz2
[libc] Fix typographical error in math_utils.h.
Diffstat (limited to 'libc')
-rw-r--r--libc/src/math/math_utils.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/libc/src/math/math_utils.h b/libc/src/math/math_utils.h
index 50851bd..69028b0 100644
--- a/libc/src/math/math_utils.h
+++ b/libc/src/math/math_utils.h
@@ -80,7 +80,7 @@ using EnableIfFloatOrDouble = cpp::EnableIfType<IsFloatOrDouble<T>::Value, int>;
template <typename T, EnableIfFloatOrDouble<T> = 0>
T xflow(uint32_t sign, T y) {
// Underflow happens when two extremely small values are multiplied.
- // Likewise, overflow happens when two large values are mulitplied.
+ // Likewise, overflow happens when two large values are multiplied.
y = opt_barrier(sign ? -y : y) * y;
return with_errno(y, ERANGE);
}