Skip to content

Commit c5229e9

Browse files
[libc] Fix typos in documentation (#139852)
1 parent 9ca8248 commit c5229e9

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

libc/docs/configure.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ to learn about the defaults for your platform and target.
3333
* **"general" options**
3434
- ``LIBC_ADD_NULL_CHECKS``: Add nullptr checks in the library's implementations to some functions for which passing nullptr is undefined behavior.
3535
* **"math" options**
36-
- ``LIBC_CONF_FREXP_INF_NAN_EXPONENT``: The value written back to the second parameter when calling frexp/frexpf/frexpl` with `+/-Inf`/`NaN` is unspecified. Configue an explicit exp value for Inf/NaN inputs.
36+
- ``LIBC_CONF_FREXP_INF_NAN_EXPONENT``: The value written back to the second parameter when calling frexp/frexpf/frexpl` with `+/-Inf`/`NaN` is unspecified. Configure an explicit exp value for Inf/NaN inputs.
3737
- ``LIBC_CONF_MATH_OPTIMIZATIONS``: Configures optimizations for math functions. Values accepted are LIBC_MATH_SKIP_ACCURATE_PASS, LIBC_MATH_SMALL_TABLES, LIBC_MATH_NO_ERRNO, LIBC_MATH_NO_EXCEPT, and LIBC_MATH_FAST.
3838
* **"printf" options**
3939
- ``LIBC_CONF_PRINTF_DISABLE_FIXED_POINT``: Disable printing fixed point values in printf and friends.

libc/docs/dev/code_style.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -285,7 +285,7 @@ Example usage:
285285
} // LIBC_NAMESPACE_DECL
286286

287287
Having hidden visibility on the namespace ensures extern declarations in a given TU
288-
have known visibility and never generate GOT indirextions. The attribute guarantees
288+
have known visibility and never generate GOT indirections. The attribute guarantees
289289
this independently of global compile options and build systems.
290290

291291
..

libc/docs/dev/source_tree_layout.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ directories::
2222
- test
2323
- utils
2424

25-
Each of these directories is explained breifly below.
25+
Each of these directories is explained briefly below.
2626

2727
The ``benchmarks`` directory
2828
----------------------------

0 commit comments

Comments
 (0)