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

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


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

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

>From c52a68d22eb717f63c645188f2dce2a25a9356ba Mon Sep 17 00:00:00 2001
From: Leonard Chan <leonardchan at google.com>
Date: Thu, 27 Feb 2025 13:46:04 -0800
Subject: [PATCH] [stdfix] Update function names

The remaining math functions are `mulifx` (int * fx = int), `divifx`
(int / fx = int), `fxdivi` (int / int = fx)`, and `idivfx` (fx / fx =
int).
---
 libc/docs/headers/math/stdfix.rst | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

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|     |
 +---------------+----------------+-------------+---------------+------------+----------------+-------------+----------------+-------------+---------------+------------+----------------+-------------+



More information about the libc-commits mailing list