[libc-commits] [libc] [libc] Revise document on building exhaustive math functions. (PR #149635)
Connector Switch via libc-commits
libc-commits at lists.llvm.org
Fri Jul 18 20:54:44 PDT 2025
https://github.com/c8ef created https://github.com/llvm/llvm-project/pull/149635
I suspect the reason is that we use `add_fp_unittest` in exhaustive testing, so the suffix `__unit__` is necessary.
>From 8145c40fb224e2c1e4f1e37038be12174a131f60 Mon Sep 17 00:00:00 2001
From: c8ef <c8ef at outlook.com>
Date: Sat, 19 Jul 2025 11:51:21 +0800
Subject: [PATCH] fix doc
---
libc/src/math/docs/add_math_function.md | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/libc/src/math/docs/add_math_function.md b/libc/src/math/docs/add_math_function.md
index daaf1a3ec5639..d2c85ecf7d9b7 100644
--- a/libc/src/math/docs/add_math_function.md
+++ b/libc/src/math/docs/add_math_function.md
@@ -183,8 +183,8 @@ implementation (which is very often glibc).
- Build and Run exhaustive test (might take hours to run):
```
- $ ninja libc.test.src.math.exhaustive.<func>_test
- $ projects/libc/test/src/math/exhaustive/libc.test.src.math.exhaustive.<func>_test
+ $ ninja libc.test.src.math.exhaustive.<func>_test.__unit__
+ $ projects/libc/test/src/math/exhaustive/libc.test.src.math.exhaustive.<func>_test.__unit__
```
- Build and Run performance test:
More information about the libc-commits
mailing list