[libc-commits] [libc] [stdfix] Update function names (PR #129129)

via libc-commits libc-commits at lists.llvm.org
Thu Feb 27 13:49:08 PST 2025


llvmbot wrote:


<!--LLVM PR SUMMARY COMMENT-->

@llvm/pr-subscribers-libc

Author: None (PiJoules)

<details>
<summary>Changes</summary>

The remaining math functions are `mulifx` (int * fx = int), `divifx` (int / fx = int), `fxdivi` (int / int = fx), and `idivfx` (fx / fx = int).

---
Full diff: https://github.com/llvm/llvm-project/pull/129129.diff


1 Files Affected:

- (modified) libc/docs/headers/math/stdfix.rst (+3-3) 


``````````diff
diff --git a/libc/docs/headers/math/stdfix.rst b/libc/docs/headers/math/stdfix.rst
index 77b9ac69fab8c..3b93f29a4abdc 100644
--- a/libc/docs/headers/math/stdfix.rst
+++ b/libc/docs/headers/math/stdfix.rst
@@ -75,13 +75,13 @@ The following functions are included in the ISO/IEC TR 18037:2008 standard.
 +---------------+----------------+-------------+---------------+------------+----------------+-------------+----------------+-------------+---------------+------------+----------------+-------------+
 | countls       | |check|        | |check|     | |check|       | |check|    | |check|        | |check|     | |check|        | |check|     | |check|       | |check|    | |check|        | |check|     |
 +---------------+----------------+-------------+---------------+------------+----------------+-------------+----------------+-------------+---------------+------------+----------------+-------------+
-| divi          |                |             |               |            |                |             |                |             |               |            |                |             |
+| divi\*        |                |             |               |            |                |             |                |             |               |            |                |             |
 +---------------+----------------+-------------+---------------+------------+----------------+-------------+----------------+-------------+---------------+------------+----------------+-------------+
-| idivi         |                |             |               |            |                |             |                |             |               |            |                |             |
+| idiv\*        |                |             |               |            |                |             |                |             |               |            |                |             |
 +---------------+----------------+-------------+---------------+------------+----------------+-------------+----------------+-------------+---------------+------------+----------------+-------------+
 | muli          |                |             |               |            |                |             |                |             |               |            |                |             |
 +---------------+----------------+-------------+---------------+------------+----------------+-------------+----------------+-------------+---------------+------------+----------------+-------------+
-| rdivi         |                |             |               |            |                |             |                |             |               |            |                |             |
+| \*divi        |                |             |               |            |                |             |                |             |               |            |                |             |
 +---------------+----------------+-------------+---------------+------------+----------------+-------------+----------------+-------------+---------------+------------+----------------+-------------+
 | round         | |check|        | |check|     | |check|       | |check|    | |check|        | |check|     | |check|        | |check|     | |check|       | |check|    | |check|        | |check|     |
 +---------------+----------------+-------------+---------------+------------+----------------+-------------+----------------+-------------+---------------+------------+----------------+-------------+

``````````

</details>


https://github.com/llvm/llvm-project/pull/129129


More information about the libc-commits mailing list