[libc-commits] [libc] 9a515d8 - [libc] Fix typos in documentation
Kazu Hirata via libc-commits
libc-commits at lists.llvm.org
Mon May 22 23:28:05 PDT 2023
Author: Kazu Hirata
Date: 2023-05-22T23:27:59-07:00
New Revision: 9a515d8142da2cef27760466f286406e1ce1469c
URL: https://github.com/llvm/llvm-project/commit/9a515d8142da2cef27760466f286406e1ce1469c
DIFF: https://github.com/llvm/llvm-project/commit/9a515d8142da2cef27760466f286406e1ce1469c.diff
LOG: [libc] Fix typos in documentation
Added:
Modified:
libc/docs/gpu/testing.rst
libc/docs/math/log.rst
Removed:
################################################################################
diff --git a/libc/docs/gpu/testing.rst b/libc/docs/gpu/testing.rst
index 376a51ec8067b..dc82b272b89ec 100644
--- a/libc/docs/gpu/testing.rst
+++ b/libc/docs/gpu/testing.rst
@@ -7,7 +7,7 @@ Testing the GPU libc library
.. note::
Running GPU tests with high parallelism is likely to cause spurious failures,
- out of resource errors, or indefinate hangs. limiting the number of threads
+ out of resource errors, or indefinite hangs. limiting the number of threads
used while testing is highly recommended.
.. contents:: Table of Contents
diff --git a/libc/docs/math/log.rst b/libc/docs/math/log.rst
index 83d03a83d131e..5be880c24f847 100644
--- a/libc/docs/math/log.rst
+++ b/libc/docs/math/log.rst
@@ -343,7 +343,7 @@ so when `C > 2^{-M - 1}` is a power of 2, we can always choose:
.. math::
s = -\frac{1}{2}, \quad \text{i.e.} \quad r = \frac{1}{2}.
-This reduction works well to avoid catastropic cancellation happening when
+This reduction works well to avoid catastrophic cancellation happening when
`e_x = -1`.
This also works when `C = 2^{-M - 1}` if we relax the condition on `u` to
More information about the libc-commits
mailing list