forked from OSchip/llvm-project
[libc] Fix typographical error in math_utils.h.
This commit is contained in:
parent
481709e831
commit
9d8b4defd3
|
@ -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);
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue