[libc-commits] [libc] 9d8b4de - [libc] Fix typographical error in math_utils.h.

via libc-commits libc-commits at lists.llvm.org
Wed Jul 8 08:56:24 PDT 2020


Author: Chris Gyurgyik
Date: 2020-07-08T11:56:21-04:00
New Revision: 9d8b4defd3c363ede4b2efc69dae7376d0bc5ffe

URL: https://github.com/llvm/llvm-project/commit/9d8b4defd3c363ede4b2efc69dae7376d0bc5ffe
DIFF: https://github.com/llvm/llvm-project/commit/9d8b4defd3c363ede4b2efc69dae7376d0bc5ffe.diff

LOG: [libc] Fix typographical error in math_utils.h.

Added: 
    

Modified: 
    libc/src/math/math_utils.h

Removed: 
    


################################################################################
diff  --git a/libc/src/math/math_utils.h b/libc/src/math/math_utils.h
index 50851bd36f79..69028b02bb4e 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);
 }


        


More information about the libc-commits mailing list