[libc-commits] [libc] [libc][docs] Generate math.h and complex.h status tables (PR #241044)

Jeff Bailey via libc-commits libc-commits at lists.llvm.org
Tue Nov 10 23:29:30 PST 2026


https://github.com/kaladron updated https://github.com/llvm/llvm-project/pull/241044

>From 030d4514f82d54f3ce0285fcf205fa7c06277135 Mon Sep 17 00:00:00 2001
From: Jeff Bailey <jbailey at raspberryginger.com>
Date: Wed, 11 Nov 2026 07:29:16 +0000
Subject: [PATCH] [libc][docs] Generate math.h and complex.h status tables

Maintaining static Markdown implementation tables in
libc/docs/headers/complex.md and libc/docs/headers/math/index.md lets
documentation drift behind exported entrypoints and hides type, macro,
and POSIX coverage.  Flattening these headers into single-column
function lists would discard the per-precision matrices and ULP accuracy
bounds that contributors rely on.

Add data-driven family matrix rendering to docgen using YAML-configured
precision columns, group headings, ULP accuracy badges, and Annex F/G
error-handling section links.  Migrate math.h and complex.h to docgen
catalogues, move the math engineering, GPU conformance, performance, and
algorithm documentation to libc/docs/math/index.md and
libc/docs/math/log.md, filter placeholder GPU math stubs, and scan macro
headers included from .h.def templates.

Assisted-by: Automated tooling, human reviewed.
---
 libc/docs/CMakeLists.txt              |    2 +
 libc/docs/_static/status.css          |   36 +
 libc/docs/conf.py                     |    5 +-
 libc/docs/headers/complex.md          |   35 -
 libc/docs/headers/index.md            |    2 +-
 libc/docs/index.md                    |    1 +
 libc/docs/{headers => }/math/index.md |  159 +-
 libc/docs/{headers => }/math/log.md   |    0
 libc/utils/docgen/complex.yaml        |  266 ++++
 libc/utils/docgen/docgen.py           |  136 +-
 libc/utils/docgen/docgen_test.py      |   36 +
 libc/utils/docgen/header.py           |   47 +-
 libc/utils/docgen/math.yaml           | 1945 +++++++++++++++++++++++++
 13 files changed, 2454 insertions(+), 216 deletions(-)
 delete mode 100644 libc/docs/headers/complex.md
 rename libc/docs/{headers => }/math/index.md (55%)
 rename libc/docs/{headers => }/math/log.md (100%)
 create mode 100644 libc/utils/docgen/complex.yaml
 create mode 100644 libc/utils/docgen/math.yaml

diff --git a/libc/docs/CMakeLists.txt b/libc/docs/CMakeLists.txt
index 9f338e1c339782..ab4564e879373e 100644
--- a/libc/docs/CMakeLists.txt
+++ b/libc/docs/CMakeLists.txt
@@ -15,6 +15,7 @@ if(LLVM_ENABLE_SPHINX)
         arpa/inet
         assert
         byteswap
+        complex
         cpio
         ctype
         dirent
@@ -28,6 +29,7 @@ if(LLVM_ENABLE_SPHINX)
         inttypes
         libgen
         locale
+        math
         nl_types
         net/if
         netinet/in
diff --git a/libc/docs/_static/status.css b/libc/docs/_static/status.css
index 1b4a30df5e8b40..3803def56175c5 100644
--- a/libc/docs/_static/status.css
+++ b/libc/docs/_static/status.css
@@ -167,3 +167,39 @@ body[data-theme="dark"] {
   outline: 2px solid var(--hc-blue-text);
   outline-offset: 2px;
 }
+
+.hc-table-families th,
+.hc-table-families td {
+  padding: 7px 8px;
+}
+
+.hc-status-ulp {
+  display: inline-flex;
+  align-items: center;
+  justify-content: center;
+  height: 24px;
+  padding: 0 7px;
+  border-radius: 999px;
+  font-size: 0.75rem;
+  font-weight: 600;
+  white-space: nowrap;
+  background: var(--hc-green-bg);
+  color: var(--hc-green-text);
+  border: 1px solid var(--hc-green-border);
+}
+
+.hc-status-na {
+  font-size: 0.74rem;
+  font-weight: 500;
+  color: var(--color-foreground-muted, #8c959f);
+  opacity: 0.65;
+  white-space: nowrap;
+}
+
+.hc-c-cell {
+  display: inline-flex;
+  flex-wrap: wrap;
+  align-items: center;
+  justify-content: center;
+  gap: 4px;
+}
diff --git a/libc/docs/conf.py b/libc/docs/conf.py
index 169a056c47be1f..d20346799174b2 100644
--- a/libc/docs/conf.py
+++ b/libc/docs/conf.py
@@ -248,7 +248,10 @@
 # Enable this if you want TODOs to show up in the generated documentation.
 todo_include_todos = True
 
-redirects = {"math/index": "../headers/math/index.html"}
+redirects = {
+    "headers/math/index": "../math.html",
+    "headers/math/log": "../../math/log.html",
+}
 
 
 def _configure_generated_header_links(app, pagename, templatename, context, doctree):
diff --git a/libc/docs/headers/complex.md b/libc/docs/headers/complex.md
deleted file mode 100644
index d0a4618189e3b6..00000000000000
--- a/libc/docs/headers/complex.md
+++ /dev/null
@@ -1,35 +0,0 @@
-# complex.h
-
-## Macros
-
-| \<Func> | \<Func_f> (float) | \<Func> (double) | \<Func_l> (long double) | \<Func_f16> (float16) | \<Func_f128> (float128) | C23 Definition Section | C23 Error Handling Section |
-| ------- | ----------------- | ---------------- | ----------------------- | --------------------- | ----------------------- | ---------------------- | -------------------------- |
-| CMPLX   | {{ check }}       | {{ check }}      | {{ check }}             | {{ check }}           | {{ check }}             | 7.3.9.3                | N/A                        |
-
-## Functions
-
-| \<Func> | \<Func_f> (float) | \<Func> (double) | \<Func_l> (long double) | \<Func_f16> (float16) | \<Func_f128> (float128) | C23 Definition Section | C23 Error Handling Section |
-| ------- | ----------------- | ---------------- | ----------------------- | --------------------- | ----------------------- | ---------------------- | -------------------------- |
-| cacos   |                   |                  |                         |                       |                         | 7.3.5.1                | G.6.2.1                    |
-| casin   |                   |                  |                         |                       |                         | 7.3.5.2                | N/A                        |
-| catan   |                   |                  |                         |                       |                         | 7.3.5.3                | N/A                        |
-| ccos    |                   |                  |                         |                       |                         | 7.3.5.4                | N/A                        |
-| csin    |                   |                  |                         |                       |                         | 7.3.5.5                | N/A                        |
-| ctan    |                   |                  |                         |                       |                         | 7.3.5.6                | N/A                        |
-| cacosh  |                   |                  |                         |                       |                         | 7.3.6.1                | G.6.3.1                    |
-| casinh  |                   |                  |                         |                       |                         | 7.3.6.2                | G.6.3.2                    |
-| catanh  |                   |                  |                         |                       |                         | 7.3.6.3                | G.6.3.3                    |
-| ccosh   |                   |                  |                         |                       |                         | 7.3.6.4                | G.6.3.4                    |
-| csinh   |                   |                  |                         |                       |                         | 7.3.6.5                | G.6.3.5                    |
-| ctanh   |                   |                  |                         |                       |                         | 7.3.6.6                | G.6.3.6                    |
-| cexp    |                   |                  |                         |                       |                         | 7.3.7.1                | G.6.4.1                    |
-| clog    |                   |                  |                         |                       |                         | 7.3.7.2                | G.6.4.2                    |
-| cabs    | {{ check }}       | {{ check }}      |                         |                       |                         | 7.3.8.1                | N/A                        |
-| cpow    |                   |                  |                         |                       |                         | 7.3.8.2                | G.6.5.1                    |
-| csqrt   |                   |                  |                         |                       |                         | 7.3.8.3                | G.6.5.2                    |
-| carg    | {{ check }}       | 1 ULP            |                         |                       |                         | 7.3.9.1                | N/A                        |
-| cimag   | {{ check }}       | {{ check }}      | {{ check }}             | {{ check }}           | {{ check }}             | 7.3.9.2                | N/A                        |
-| conj    | {{ check }}       | {{ check }}      | {{ check }}             | {{ check }}           | {{ check }}             | 7.3.9.4                | N/A                        |
-| cproj   | {{ check }}       | {{ check }}      | {{ check }}             | {{ check }}           | {{ check }}             | 7.3.9.5                | N/A                        |
-| creal   | {{ check }}       | {{ check }}      | {{ check }}             | {{ check }}           | {{ check }}             | 7.3.9.6                | N/A                        |
-
diff --git a/libc/docs/headers/index.md b/libc/docs/headers/index.md
index f3017a4176aa59..7f4b6f25ef5f99 100644
--- a/libc/docs/headers/index.md
+++ b/libc/docs/headers/index.md
@@ -21,7 +21,7 @@ glob
 inttypes
 libgen
 locale
-math/index
+math
 net/if
 netinet/in
 netinet/tcp
diff --git a/libc/docs/index.md b/libc/docs/index.md
index 4c808e16f9eebd..545f0b2974027a 100644
--- a/libc/docs/index.md
+++ b/libc/docs/index.md
@@ -102,6 +102,7 @@ compiler_support
 contributing
 build_and_test
 dev/index
+math/index
 porting
 Maintainers
 ```
diff --git a/libc/docs/headers/math/index.md b/libc/docs/math/index.md
similarity index 55%
rename from libc/docs/headers/math/index.md
rename to libc/docs/math/index.md
index c725c3a2a26d3c..bf1245809e4234 100644
--- a/libc/docs/headers/math/index.md
+++ b/libc/docs/math/index.md
@@ -1,14 +1,6 @@
 (math)=
 
-# math.h
-
-```{raw} html
-<style> .green {color:green} </style>
-```
-
-```{eval-rst}
-.. role:: green
-```
+# Math Functions
 
 ```{toctree}
 :hidden: true
@@ -57,6 +49,8 @@ log
 
 ## Implementation Status
 
+- C23 and POSIX.1-2024 header status tables: {doc}`../headers/math`
+
 - To check math functions enabled for Linux:
 
   - [linux-x86_64](https://github.com/llvm/llvm-project/tree/main/libc/config/linux/x86_64/entrypoints.txt)
@@ -85,151 +79,6 @@ log
   - [baremetal-aarch32](https://github.com/llvm/llvm-project/tree/main/libc/config/baremetal/arm/entrypoints.txt)
   - [baremetal-riscv32](https://github.com/llvm/llvm-project/tree/main/libc/config/baremetal/riscv/entrypoints.txt)
 
-## Basic Operations
-
-| \<Func>          | \<Func_f> (float) | \<Func> (double) | \<Func_f80> (f80) | \<Func> (double-double) | \<Func_f16> (float16) | \<Func_f128> (float128) | \<Func_bf16> (bfloat16) | C23 Definition Section | C23 Error Handling Section |
-| ---------------- | ----------------- | ---------------- | ----------------- | ----------------------- | --------------------- | ----------------------- | ----------------------- | ---------------------- | -------------------------- |
-| ceil             | {{ check }}       | {{ check }}      |                   |                         | {{ check }}           | {{ check }}             | {{ check }}             | 7.12.9.1               | F.10.6.1                   |
-| canonicalize     | {{ check }}       | {{ check }}      | {{ check }}       |                         | {{ check }}           | {{ check }}             | {{ check }}             | 7.12.11.7              | F.10.8.7                   |
-| copysign         | {{ check }}       | {{ check }}      | {{ check }}       |                         | {{ check }}           | {{ check }}             | {{ check }}             | 7.12.11.1              | F.10.8.1                   |
-| dadd             | N/A               | N/A              |                   |                         | N/A                   | {{ check }}\*           | N/A                     | 7.12.14.1              | F.10.11                    |
-| ddiv             | N/A               | N/A              |                   |                         | N/A                   | {{ check }}\*           | N/A                     | 7.12.14.4              | F.10.11                    |
-| dfma             | N/A               | N/A              |                   |                         | N/A                   | {{ check }}\*           | N/A                     | 7.12.14.5              | F.10.11                    |
-| dmul             | N/A               | N/A              |                   |                         | N/A                   | {{ check }}\*           | N/A                     | 7.12.14.3              | F.10.11                    |
-| dsub             | N/A               | N/A              |                   |                         | N/A                   | {{ check }}\*           | N/A                     | 7.12.14.2              | F.10.11                    |
-| f16add           | {{ check }}\*     | {{ check }}\*    |                   |                         | N/A                   | {{ check }}             | N/A                     | 7.12.14.1              | F.10.11                    |
-| f16div           | {{ check }}\*     | {{ check }}\*    |                   |                         | N/A                   | {{ check }}             | N/A                     | 7.12.14.4              | F.10.11                    |
-| f16fma           | {{ check }}\*     | {{ check }}\*    |                   |                         | N/A                   | {{ check }}             | N/A                     | 7.12.14.5              | F.10.11                    |
-| f16mul           | {{ check }}\*     | {{ check }}\*    |                   |                         | N/A                   | {{ check }}             | N/A                     | 7.12.14.3              | F.10.11                    |
-| f16sub           | {{ check }}\*     | {{ check }}\*    |                   |                         | N/A                   | {{ check }}             | N/A                     | 7.12.14.2              | F.10.11                    |
-| bf16add          | {{ check }}\*     | {{ check }}\*    |                   |                         | N/A                   | {{ check }}             | N/A                     | 7.12.14.1              | F.10.11                    |
-| bf16div          | {{ check }}\*     | {{ check }}\*    |                   |                         | N/A                   | {{ check }}             | N/A                     | 7.12.14.4              | F.10.11                    |
-| bf16fma          | {{ check }}\*     | {{ check }}\*    |                   |                         | N/A                   | {{ check }}             | N/A                     | 7.12.14.5              | F.10.11                    |
-| bf16mul          | {{ check }}\*     | {{ check }}\*    |                   |                         | N/A                   | {{ check }}             | N/A                     | 7.12.14.3              | F.10.11                    |
-| bf16sub          | {{ check }}\*     | {{ check }}\*    |                   |                         | N/A                   | {{ check }}             | N/A                     | 7.12.14.2              | F.10.11                    |
-| fabs             | {{ check }}       | {{ check }}      | {{ check }}       |                         | {{ check }}           | {{ check }}             | {{ check }}             | 7.12.7.3               | F.10.4.3                   |
-| fadd             | N/A               | {{ check }}      |                   |                         | N/A                   | {{ check }}             | N/A                     | 7.12.14.1              | F.10.11                    |
-| fdim             | {{ check }}       | {{ check }}      | {{ check }}       |                         | {{ check }}           | {{ check }}             | {{ check }}             | 7.12.12.1              | F.10.9.1                   |
-| fdiv             | N/A               | {{ check }}      |                   |                         | N/A                   | {{ check }}\*           | N/A                     | 7.12.14.4              | F.10.11                    |
-| ffma             | N/A               | {{ check }}      |                   |                         | N/A                   | {{ check }}\*           | N/A                     | 7.12.14.5              | F.10.11                    |
-| floor            | {{ check }}       | {{ check }}      |                   |                         | {{ check }}           | {{ check }}             | {{ check }}             | 7.12.9.2               | F.10.6.2                   |
-| fmax             | {{ check }}       | {{ check }}      | {{ check }}       |                         | {{ check }}           | {{ check }}             | {{ check }}             | 7.12.12.2              | F.10.9.2                   |
-| fmaximum         | {{ check }}       | {{ check }}      | {{ check }}       |                         | {{ check }}           | {{ check }}             | {{ check }}             | 7.12.12.4              | F.10.9.4                   |
-| fmaximum_mag     | {{ check }}       | {{ check }}      | {{ check }}       |                         | {{ check }}           | {{ check }}             | {{ check }}             | 7.12.12.6              | F.10.9.4                   |
-| fmaximum_mag_num | {{ check }}       | {{ check }}      | {{ check }}       |                         | {{ check }}           | {{ check }}             | {{ check }}             | 7.12.12.10             | F.10.9.5                   |
-| fmaximum_num     | {{ check }}       | {{ check }}      | {{ check }}       |                         | {{ check }}           | {{ check }}             | {{ check }}             | 7.12.12.8              | F.10.9.5                   |
-| fmin             | {{ check }}       | {{ check }}      | {{ check }}       |                         | {{ check }}           | {{ check }}             | {{ check }}             | 7.12.12.3              | F.10.9.3                   |
-| fminimum         | {{ check }}       | {{ check }}      | {{ check }}       |                         | {{ check }}           | {{ check }}             | {{ check }}             | 7.12.12.5              | F.10.9.4                   |
-| fminimum_mag     | {{ check }}       | {{ check }}      | {{ check }}       |                         | {{ check }}           | {{ check }}             | {{ check }}             | 7.12.12.7              | F.10.9.4                   |
-| fminimum_mag_num | {{ check }}       | {{ check }}      | {{ check }}       |                         | {{ check }}           | {{ check }}             | {{ check }}             | 7.12.12.11             | F.10.9.5                   |
-| fminimum_num     | {{ check }}       | {{ check }}      | {{ check }}       |                         | {{ check }}           | {{ check }}             | {{ check }}             | 7.12.12.9              | F.10.9.5                   |
-| fmod             | {{ check }}       | {{ check }}      |                   |                         | {{ check }}           | {{ check }}             | {{ check }}             | 7.12.10.1              | F.10.7.1                   |
-| fmul             | N/A               | {{ check }}      |                   |                         | N/A                   | {{ check }}\*           | N/A                     | 7.12.14.3              | F.10.11                    |
-| frexp            | {{ check }}       | {{ check }}      |                   |                         | {{ check }}           | {{ check }}             | {{ check }}             | 7.12.6.7               | F.10.3.7                   |
-| fromfp           | {{ check }}       | {{ check }}      |                   |                         | {{ check }}           | {{ check }}             | {{ check }}             | 7.12.9.10              | F.10.6.10                  |
-| fromfpx          | {{ check }}       | {{ check }}      |                   |                         | {{ check }}           | {{ check }}             | {{ check }}             | 7.12.9.11              | F.10.6.11                  |
-| fsub             | N/A               | {{ check }}      |                   |                         | N/A                   | {{ check }}\*           | N/A                     | 7.12.14.2              | F.10.11                    |
-| getpayload       | {{ check }}       | {{ check }}      |                   |                         | {{ check }}           | {{ check }}             | {{ check }}             | F.10.13.1              | N/A                        |
-| ilogb            | {{ check }}       | {{ check }}      |                   |                         | {{ check }}           | {{ check }}             | {{ check }}             | 7.12.6.8               | F.10.3.8                   |
-| iscanonical      | {{ check }}       | {{ check }}      | {{ check }}       |                         | {{ check }}           | {{ check }}             | {{ check }}             | 7.12.3.2               | N/A                        |
-| issignaling      | {{ check }}       | {{ check }}      | {{ check }}       |                         | {{ check }}           | {{ check }}             | {{ check }}             | 7.12.3.8               | N/A                        |
-| ldexp            | {{ check }}       | {{ check }}      |                   |                         | {{ check }}           | {{ check }}             | {{ check }}             | 7.12.6.9               | F.10.3.9                   |
-| llogb            | {{ check }}       | {{ check }}      |                   |                         | {{ check }}           | {{ check }}             | {{ check }}             | 7.12.6.10              | F.10.3.10                  |
-| llrint           | {{ check }}       | {{ check }}      |                   |                         | {{ check }}           | {{ check }}             | {{ check }}             | 7.12.9.5               | F.10.6.5                   |
-| llround          | {{ check }}       | {{ check }}      |                   |                         | {{ check }}           | {{ check }}             | {{ check }}             | 7.12.9.7               | F.10.6.7                   |
-| logb             | {{ check }}       | {{ check }}      |                   |                         | {{ check }}           | {{ check }}             | {{ check }}             | 7.12.6.17              | F.10.3.17                  |
-| lrint            | {{ check }}       | {{ check }}      |                   |                         | {{ check }}           | {{ check }}             | {{ check }}             | 7.12.9.5               | F.10.6.5                   |
-| lround           | {{ check }}       | {{ check }}      |                   |                         | {{ check }}           | {{ check }}             | {{ check }}             | 7.12.9.7               | F.10.6.7                   |
-| modf             | {{ check }}       | {{ check }}      |                   |                         | {{ check }}           | {{ check }}             | {{ check }}             | 7.12.6.18              | F.10.3.18                  |
-| nan              | {{ check }}       | {{ check }}      |                   |                         | {{ check }}           | {{ check }}             | {{ check }}             | 7.12.11.2              | F.10.8.2                   |
-| nearbyint        | {{ check }}       | {{ check }}      |                   |                         | {{ check }}           | {{ check }}             | {{ check }}             | 7.12.9.3               | F.10.6.3                   |
-| nextafter        | {{ check }}       | {{ check }}      |                   |                         | {{ check }}           | {{ check }}             | {{ check }}             | 7.12.11.3              | F.10.8.3                   |
-| nextdown         | {{ check }}       | {{ check }}      |                   |                         | {{ check }}           | {{ check }}             | {{ check }}             | 7.12.11.6              | F.10.8.6                   |
-| nexttoward       | {{ check }}       | {{ check }}      |                   |                         | {{ check }}           | N/A                     | {{ check }}             | 7.12.11.4              | F.10.8.4                   |
-| nextup           | {{ check }}       | {{ check }}      |                   |                         | {{ check }}           | {{ check }}             | {{ check }}             | 7.12.11.5              | F.10.8.5                   |
-| remainder        | {{ check }}       | {{ check }}      |                   |                         | {{ check }}           | {{ check }}             | {{ check }}             | 7.12.10.2              | F.10.7.2                   |
-| remquo           | {{ check }}       | {{ check }}      |                   |                         | {{ check }}           | {{ check }}             | {{ check }}             | 7.12.10.3              | F.10.7.3                   |
-| rint             | {{ check }}       | {{ check }}      |                   |                         | {{ check }}           | {{ check }}             | {{ check }}             | 7.12.9.4               | F.10.6.4                   |
-| round            | {{ check }}       | {{ check }}      |                   |                         | {{ check }}           | {{ check }}             | {{ check }}             | 7.12.9.6               | F.10.6.6                   |
-| roundeven        | {{ check }}       | {{ check }}      |                   |                         | {{ check }}           | {{ check }}             | {{ check }}             | 7.12.9.8               | F.10.6.8                   |
-| scalbln          | {{ check }}       | {{ check }}      |                   |                         | {{ check }}           | {{ check }}             | {{ check }}             | 7.12.6.19              | F.10.3.19                  |
-| scalbn           | {{ check }}       | {{ check }}      |                   |                         | {{ check }}           | {{ check }}             | {{ check }}             | 7.12.6.19              | F.10.3.19                  |
-| setpayload       | {{ check }}       | {{ check }}      |                   |                         | {{ check }}           | {{ check }}             | {{ check }}             | F.10.13.2              | N/A                        |
-| setpayloadsig    | {{ check }}       | {{ check }}      |                   |                         | {{ check }}           | {{ check }}             | {{ check }}             | F.10.13.3              | N/A                        |
-| totalorder       | {{ check }}       | {{ check }}      | {{ check }}       |                         | {{ check }}           | {{ check }}             | {{ check }}             | F.10.12.1              | N/A                        |
-| totalordermag    | {{ check }}       | {{ check }}      | {{ check }}       |                         | {{ check }}           | {{ check }}             | {{ check }}             | F.10.12.2              | N/A                        |
-| trunc            | {{ check }}       | {{ check }}      |                   |                         | {{ check }}           | {{ check }}             | {{ check }}             | 7.12.9.9               | F.10.6.9                   |
-| ufromfp          | {{ check }}       | {{ check }}      |                   |                         | {{ check }}           | {{ check }}             | {{ check }}             | 7.12.9.10              | F.10.6.10                  |
-| ufromfpx         | {{ check }}       | {{ check }}      |                   |                         | {{ check }}           | {{ check }}             | {{ check }}             | 7.12.9.11              | F.10.6.11                  |
-
-## Higher Math Functions
-
-| \<Func>   | \<Func_f> (float) | \<Func> (double) | \<Func_f80> (f80) | \<Func> (double-double) | \<Func_f16> (float16) | \<Func_f128> (float128) | \<Func_bf16> (bfloat16) | C23 Definition Section | C23 Error Handling Section |
-| --------- | ----------------- | ---------------- | ----------------- | ----------------------- | --------------------- | ----------------------- | ----------------------- | ---------------------- | -------------------------- |
-| acos      | {{ check }}       | {{ check }}      |                   |                         | {{ check }}           |                         | {{ check }}             | 7.12.4.1               | F.10.1.1                   |
-| acosh     | {{ check }}       |                  |                   |                         | {{ check }}           |                         | {{ check }}             | 7.12.5.1               | F.10.2.1                   |
-| acospi    |                   |                  |                   |                         | {{ check }}           |                         |                         | 7.12.4.8               | F.10.1.8                   |
-| asin      | {{ check }}       | {{ check }}      |                   |                         | {{ check }}           |                         | {{ check }}             | 7.12.4.2               | F.10.1.2                   |
-| asinh     | {{ check }}       |                  |                   |                         | {{ check }}           |                         |                         | 7.12.5.2               | F.10.2.2                   |
-| asinpi    | {{ check }}       | {{ check }}      |                   |                         | {{ check }}           |                         |                         | 7.12.4.9               | F.10.1.9                   |
-| atan      | {{ check }}       | 1 ULP            |                   |                         | {{ check }}           |                         | {{ check }}             | 7.12.4.3               | F.10.1.3                   |
-| atan2     | {{ check }}       | 1 ULP            |                   |                         | {{ check }}           | 1 ULP                   |                         | 7.12.4.4               | F.10.1.4                   |
-| atan2pi   |                   |                  |                   |                         |                       |                         |                         | 7.12.4.11              | F.10.1.11                  |
-| atanh     | {{ check }}       |                  |                   |                         | {{ check }}           |                         |                         | 7.12.5.3               | F.10.2.3                   |
-| atanpi    |                   |                  |                   |                         | {{ check }}           |                         |                         | 7.12.4.10              | F.10.1.10                  |
-| cbrt      | {{ check }}       | {{ check }}      |                   |                         | {{ check }}           |                         | {{ check }}             | 7.12.7.1               | F.10.4.1                   |
-| compoundn |                   |                  |                   |                         |                       |                         |                         | 7.12.7.2               | F.10.4.2                   |
-| cos       | {{ check }}       | {{ check }}      |                   |                         | {{ check }}           |                         |                         | 7.12.4.5               | F.10.1.5                   |
-| cosh      | {{ check }}       | {{ check }}      |                   |                         | {{ check }}           |                         |                         | 7.12.5.4               | F.10.2.4                   |
-| cospi     | {{ check }}       |                  |                   |                         | {{ check }}           |                         |                         | 7.12.4.12              | F.10.1.12                  |
-| dsqrt     | N/A               | N/A              |                   |                         | N/A                   | {{ check }}\*           |                         | 7.12.14.6              | F.10.11                    |
-| erf       | {{ check }}       |                  |                   |                         |                       |                         |                         | 7.12.8.1               | F.10.5.1                   |
-| erfc      |                   |                  |                   |                         |                       |                         |                         | 7.12.8.2               | F.10.5.2                   |
-| exp       | {{ check }}       | {{ check }}      |                   |                         | {{ check }}           |                         | {{ check }}             | 7.12.6.1               | F.10.3.1                   |
-| exp10     | {{ check }}       | {{ check }}      |                   |                         | {{ check }}           |                         |                         | 7.12.6.2               | F.10.3.2                   |
-| exp10m1   | {{ check }}       |                  |                   |                         | {{ check }}           |                         |                         | 7.12.6.3               | F.10.3.3                   |
-| exp2      | {{ check }}       | {{ check }}      |                   |                         | {{ check }}           |                         | {{ check }}             | 7.12.6.4               | F.10.3.4                   |
-| exp2m1    | {{ check }}       |                  |                   |                         | {{ check }}           |                         |                         | 7.12.6.5               | F.10.3.5                   |
-| expm1     | {{ check }}       | {{ check }}      |                   |                         | {{ check }}           |                         |                         | 7.12.6.6               | F.10.3.6                   |
-| fma       | {{ check }}       | {{ check }}      |                   |                         | {{ check }}           |                         | {{ check }}             | 7.12.13.1              | F.10.10.1                  |
-| f16sqrt   | {{ check }}\*     | {{ check }}\*    |                   |                         | N/A                   | {{ check }}             |                         | 7.12.14.6              | F.10.11                    |
-| fsqrt     | N/A               | {{ check }}      |                   |                         | N/A                   | {{ check }}\*           |                         | 7.12.14.6              | F.10.11                    |
-| hypot     | {{ check }}       | {{ check }}      |                   |                         | {{ check }}           |                         | {{ check }}             | 7.12.7.4               | F.10.4.4                   |
-| lgamma    |                   |                  |                   |                         | {{ check }}           |                         |                         | 7.12.8.3               | F.10.5.3                   |
-| log       | {{ check }}       | {{ check }}      |                   |                         | {{ check }}           |                         | {{ check }} ?           | 7.12.6.11              | F.10.3.11                  |
-| log10     | {{ check }}       | {{ check }}      |                   |                         | {{ check }}           |                         |                         | 7.12.6.12              | F.10.3.12                  |
-| log10p1   |                   |                  |                   |                         | {{ check }}           |                         | {{ check }}             | 7.12.6.13              | F.10.3.13                  |
-| log1p     | {{ check }}       | {{ check }}      |                   |                         |                       |                         |                         | 7.12.6.14              | F.10.3.14                  |
-| log2      | {{ check }}       | {{ check }}      |                   |                         | {{ check }}           |                         |                         | 7.12.6.15              | F.10.3.15                  |
-| log2p1    |                   |                  |                   |                         | {{ check }}           |                         |                         | 7.12.6.16              | F.10.3.16                  |
-| logp1     |                   |                  |                   |                         |                       |                         |                         | 7.12.6.14              | F.10.3.14                  |
-| pow       | {{ check }}       | {{ check }}      |                   |                         |                       |                         |                         | 7.12.7.5               | F.10.4.5                   |
-| powi\*    |                   |                  |                   |                         |                       |                         |                         |                        |                            |
-| pown      |                   |                  |                   |                         |                       |                         |                         | 7.12.7.6               | F.10.4.6                   |
-| powr      |                   |                  |                   |                         |                       |                         |                         | 7.12.7.7               | F.10.4.7                   |
-| rootn     |                   |                  |                   |                         |                       |                         |                         | 7.12.7.8               | F.10.4.8                   |
-| rsqrt     | {{ check }}       |                  |                   |                         | {{ check }}           |                         |                         | 7.12.7.9               | F.10.4.9                   |
-| sin       | {{ check }}       | {{ check }}      |                   |                         | {{ check }}           |                         | {{ check }}             | 7.12.4.6               | F.10.1.6                   |
-| sincos    | {{ check }}       | {{ check }}      |                   |                         |                       |                         |                         |                        |                            |
-| sinh      | {{ check }}       | {{ check }}      |                   |                         | {{ check }}           |                         | {{ check }}             | 7.12.5.5               | F.10.2.5                   |
-| sinpi     | {{ check }}       |                  |                   |                         | {{ check }}           |                         |                         | 7.12.4.13              | F.10.1.13                  |
-| sqrt      | {{ check }}       | {{ check }}      |                   |                         | {{ check }}           | {{ check }}             | {{ check }}             | 7.12.7.10              | F.10.4.10                  |
-| tan       | {{ check }}       | {{ check }}      |                   |                         | {{ check }}           |                         | {{ check }}             | 7.12.4.7               | F.10.1.7                   |
-| tanh      | {{ check }}       |                  |                   |                         | {{ check }}           |                         |                         | 7.12.5.6               | F.10.2.6                   |
-| tanpi     | {{ check }}       |                  |                   |                         | {{ check }}           |                         |                         | 7.12.4.14              | F.10.1.14                  |
-| tgamma    |                   |                  |                   |                         |                       |                         |                         | 7.12.8.4               | F.10.5.4                   |
-
-Legends:
-
-- {{ check }} : correctly rounded for all 4 rounding modes.
-- CR: correctly rounded for the default rounding mode (round-to-the-nearest,
-  tie-to-even).
-- x ULPs: largest errors recorded.
-- N/A: Not defined in the standard or will not be added.
-- \*: LLVM libc extension.
-- ? Because of a conflict between float16 logb function and bfloat16 log function, the latter is implemented as `log_bf16`.
-- `long double` functions are aliases to `f80`, `double-double`, `float128`, or `double` according to the target architecture.
-
 % TODO(lntue): Add a new page to discuss about the algorithms used in the
 % implementations and include the link here.
 
@@ -476,7 +325,7 @@ Notes:
 
 ## Fixed-point Arithmetics
 
-- {doc}`../stdfix`
+- {doc}`../headers/stdfix`
 
 ## References
 
diff --git a/libc/docs/headers/math/log.md b/libc/docs/math/log.md
similarity index 100%
rename from libc/docs/headers/math/log.md
rename to libc/docs/math/log.md
diff --git a/libc/utils/docgen/complex.yaml b/libc/utils/docgen/complex.yaml
new file mode 100644
index 00000000000000..ecc5275233925f
--- /dev/null
+++ b/libc/utils/docgen/complex.yaml
@@ -0,0 +1,266 @@
+standard: c23
+posix: posix-2024
+c-reference-root: numeric/complex
+family-columns:
+- key: float
+  label: float
+- key: double
+  label: double
+- key: long_double
+  label: long double
+- key: float16
+  label: _Float16
+- key: float128
+  label: _Float128
+families:
+  cabs:
+    variants:
+      float: cabsf
+      double: cabs
+      long_double: cabsl
+      float16: cabsf16
+      float128: cabsf128
+    c-definition: 7.3.8.1
+    in-latest-posix: ''
+  cacos:
+    variants:
+      float: cacosf
+      double: cacos
+      long_double: cacosl
+      float16: cacosf16
+      float128: cacosf128
+    c-definition: 7.3.5.1
+    c-error: G.6.2.1
+    in-latest-posix: ''
+  cacosh:
+    variants:
+      float: cacoshf
+      double: cacosh
+      long_double: cacoshl
+      float16: cacoshf16
+      float128: cacoshf128
+    c-definition: 7.3.6.1
+    c-error: G.6.3.1
+    in-latest-posix: ''
+  carg:
+    variants:
+      float: cargf
+      double: carg
+      long_double: cargl
+      float16: cargf16
+      float128: cargf128
+    c-definition: 7.3.9.1
+    accuracy:
+      double: 1 ULP
+    in-latest-posix: ''
+  casin:
+    variants:
+      float: casinf
+      double: casin
+      long_double: casinl
+      float16: casinf16
+      float128: casinf128
+    c-definition: 7.3.5.2
+    in-latest-posix: ''
+  casinh:
+    variants:
+      float: casinhf
+      double: casinh
+      long_double: casinhl
+      float16: casinhf16
+      float128: casinhf128
+    c-definition: 7.3.6.2
+    c-error: G.6.3.2
+    in-latest-posix: ''
+  catan:
+    variants:
+      float: catanf
+      double: catan
+      long_double: catanl
+      float16: catanf16
+      float128: catanf128
+    c-definition: 7.3.5.3
+    in-latest-posix: ''
+  catanh:
+    variants:
+      float: catanhf
+      double: catanh
+      long_double: catanhl
+      float16: catanhf16
+      float128: catanhf128
+    c-definition: 7.3.6.3
+    c-error: G.6.3.3
+    in-latest-posix: ''
+  ccos:
+    variants:
+      float: ccosf
+      double: ccos
+      long_double: ccosl
+      float16: ccosf16
+      float128: ccosf128
+    c-definition: 7.3.5.4
+    in-latest-posix: ''
+  ccosh:
+    variants:
+      float: ccoshf
+      double: ccosh
+      long_double: ccoshl
+      float16: ccoshf16
+      float128: ccoshf128
+    c-definition: 7.3.6.4
+    c-error: G.6.3.4
+    in-latest-posix: ''
+  cexp:
+    variants:
+      float: cexpf
+      double: cexp
+      long_double: cexpl
+      float16: cexpf16
+      float128: cexpf128
+    c-definition: 7.3.7.1
+    c-error: G.6.4.1
+    in-latest-posix: ''
+  cimag:
+    variants:
+      float: cimagf
+      double: cimag
+      long_double: cimagl
+      float16: cimagf16
+      float128: cimagf128
+    c-definition: 7.3.9.2
+    in-latest-posix: ''
+  clog:
+    variants:
+      float: clogf
+      double: clog
+      long_double: clogl
+      float16: clogf16
+      float128: clogf128
+    c-definition: 7.3.7.2
+    c-error: G.6.4.2
+    in-latest-posix: ''
+  conj:
+    variants:
+      float: conjf
+      double: conj
+      long_double: conjl
+      float16: conjf16
+      float128: conjf128
+    c-definition: 7.3.9.4
+    in-latest-posix: ''
+  cpow:
+    variants:
+      float: cpowf
+      double: cpow
+      long_double: cpowl
+      float16: cpowf16
+      float128: cpowf128
+    c-definition: 7.3.8.2
+    c-error: G.6.5.1
+    in-latest-posix: ''
+  cproj:
+    variants:
+      float: cprojf
+      double: cproj
+      long_double: cprojl
+      float16: cprojf16
+      float128: cprojf128
+    c-definition: 7.3.9.5
+    in-latest-posix: ''
+  creal:
+    variants:
+      float: crealf
+      double: creal
+      long_double: creall
+      float16: crealf16
+      float128: crealf128
+    c-definition: 7.3.9.6
+    in-latest-posix: ''
+  csin:
+    variants:
+      float: csinf
+      double: csin
+      long_double: csinl
+      float16: csinf16
+      float128: csinf128
+    c-definition: 7.3.5.5
+    in-latest-posix: ''
+  csinh:
+    variants:
+      float: csinhf
+      double: csinh
+      long_double: csinhl
+      float16: csinhf16
+      float128: csinhf128
+    c-definition: 7.3.6.5
+    c-error: G.6.3.5
+    in-latest-posix: ''
+  csqrt:
+    variants:
+      float: csqrtf
+      double: csqrt
+      long_double: csqrtl
+      float16: csqrtf16
+      float128: csqrtf128
+    c-definition: 7.3.8.3
+    c-error: G.6.5.2
+    in-latest-posix: ''
+  ctan:
+    variants:
+      float: ctanf
+      double: ctan
+      long_double: ctanl
+      float16: ctanf16
+      float128: ctanf128
+    c-definition: 7.3.5.6
+    in-latest-posix: ''
+  ctanh:
+    variants:
+      float: ctanhf
+      double: ctanh
+      long_double: ctanhl
+      float16: ctanhf16
+      float128: ctanhf128
+    c-definition: 7.3.6.6
+    c-error: G.6.3.6
+    in-latest-posix: ''
+types:
+  cfloat128:
+    extension: llvm-libc
+  cfloat16:
+    extension: llvm-libc
+  float128:
+    extension: llvm-libc
+macros:
+  CMPLX:
+    c-definition: 7.3.9.3
+    c-reference: numeric/complex/CMPLX
+    in-latest-posix: ''
+  CMPLXF:
+    c-definition: 7.3.9.3
+    c-reference: numeric/complex/CMPLX
+    in-latest-posix: ''
+  CMPLXF128:
+    c-definition: H.11.3
+    c-reference: numeric/complex/CMPLX
+  CMPLXF16:
+    c-definition: H.11.3
+    c-reference: numeric/complex/CMPLX
+  CMPLXL:
+    c-definition: 7.3.9.3
+    c-reference: numeric/complex/CMPLX
+    in-latest-posix: ''
+  I:
+    c-definition: 7.3.1
+    c-reference: numeric/complex/I
+    in-latest-posix: ''
+  _Complex_I:
+    c-definition: 7.3.1
+    c-reference: numeric/complex/Complex_I
+    in-latest-posix: ''
+  __STDC_VERSION_COMPLEX_H__:
+    c-definition: 7.3.1
+  complex:
+    c-definition: 7.3.1
+    c-reference: numeric/complex/complex
+    in-latest-posix: ''
diff --git a/libc/utils/docgen/docgen.py b/libc/utils/docgen/docgen.py
index 140a6ff94927bf..09f9e959051717 100755
--- a/libc/utils/docgen/docgen.py
+++ b/libc/utils/docgen/docgen.py
@@ -54,12 +54,30 @@ def check_api(header: Header, api: Dict):
     :param api: docgen yaml file contents parsed into a dict
     """
     errors = []
-    for key in ("c-reference-root", "standard", "posix", "provider"):
+    for key in (
+        "c-reference-root",
+        "standard",
+        "posix",
+        "provider",
+        "family-note",
+    ):
         if key in api and not isinstance(api[key], str):
             errors.append(f"error: {key} must be a string")
+    if "family-columns" in api:
+        cols = api["family-columns"]
+        if not isinstance(cols, list) or not all(
+            isinstance(c, dict)
+            and isinstance(c.get("key"), str)
+            and isinstance(c.get("label"), str)
+            for c in cols
+        ):
+            errors.append(
+                "error: family-columns must be a list of {key, label} mappings"
+            )
     # We require entries to have at least one of these.
     possible_keys = [
         "c-definition",
+        "c-error",
         "in-latest-posix",
         "removed-in-posix-2008",
         "removed-in-posix-2024",
@@ -95,6 +113,7 @@ def check_api(header: Header, api: Dict):
         ("functions", "function"),
         ("types", "type"),
         ("objects", "object"),
+        ("families", "family"),
     ):
         if section not in api:
             continue
@@ -111,20 +130,29 @@ def check_api(header: Header, api: Dict):
                 continue
             if "c-reference" in obj and not isinstance(obj["c-reference"], str):
                 errors.append(f"error: {label} {name} c-reference must be a string")
+            if section == "families" and not isinstance(obj.get("variants"), dict):
+                errors.append(f"error: family {name} variants must be a dict")
 
     if errors:
         raise DocgenAPIFormatError("\n".join(errors))
 
 
-def _status_badge_html(implemented: bool) -> str:
+def _status_badge_html(implemented: bool, accuracy: str = "", symbol: str = "") -> str:
+    prefix = f"{html.escape(symbol, quote=True)}: " if symbol else ""
     if implemented:
+        if accuracy:
+            esc_acc = html.escape(accuracy)
+            return (
+                f'<span class="hc-status-ulp" title="{prefix}Implemented ({esc_acc})">'
+                f"{esc_acc}</span>"
+            )
         return (
-            '<span class="hc-status-yes" title="Implemented">'
+            f'<span class="hc-status-yes" title="{prefix}Implemented">'
             '<span aria-hidden="true">✓</span>'
             '<span class="hc-sr-only">Implemented</span></span>'
         )
     return (
-        '<span class="hc-status-no" title="Not Implemented">'
+        f'<span class="hc-status-no" title="{prefix}Not Implemented">'
         '<span aria-hidden="true">–</span>'
         '<span class="hc-sr-only">Not Implemented</span></span>'
     )
@@ -170,6 +198,18 @@ def posix_url(header: Header, symbol_name: str, kind: str, item: Dict) -> str:
 _C_SECTION_RE = re.compile(r"^([0-9]+|[FGHJK])\.")
 
 
+def _c_badge_or_link(sec: str, url: str, title_prefix: str) -> str:
+    label = html.escape(str(sec))
+    if _C_SECTION_RE.match(str(sec)) and url:
+        href = html.escape(url, quote=True)
+        return (
+            f'<a class="hc-c-link" href="{href}" '
+            f'title="{title_prefix} {label} on cppreference.com">'
+            f'{label} <span aria-hidden="true">↗</span></a>'
+        )
+    return f'<span class="hc-sec-badge">{label}</span>'
+
+
 def _c_section_html(
     header: Header,
     name: str,
@@ -178,19 +218,16 @@ def _c_section_html(
     api: Optional[Dict] = None,
 ) -> str:
     sec = item.get("c-definition")
-    if not sec:
+    err = item.get("c-error")
+    if not sec and not err:
         return '<span class="hc-status-no" aria-label="Not in C23">–</span>'
-    label = html.escape(str(sec))
-    if _C_SECTION_RE.match(str(sec)):
-        url = cppreference_url(header, name, kind, item, api)
-        if url:
-            href = html.escape(url, quote=True)
-            return (
-                f'<a class="hc-c-link" href="{href}" '
-                f'title="C23 section {label} on cppreference.com">'
-                f'{label} <span aria-hidden="true">↗</span></a>'
-            )
-    return f'<span class="hc-sec-badge">{label}</span>'
+    url = cppreference_url(header, name, kind, item, api)
+    parts = []
+    if sec:
+        parts.append(_c_badge_or_link(str(sec), url, "C23 section"))
+    if err:
+        parts.append(_c_badge_or_link(str(err), url, "C23 error handling"))
+    return '<span class="hc-c-cell">' + " ".join(parts) + "</span>"
 
 
 def _posix_link_html(header: Header, name: str, kind: str, item: Dict) -> str:
@@ -244,9 +281,76 @@ def print_symbol_table_md(
     print("  </tbody>\n</table></div>\n```\n")
 
 
+def print_families_md(header: Header, api: Dict):
+    families = api["families"]
+    cols = api.get("family-columns") or [
+        {"key": "float", "label": "float"},
+        {"key": "double", "label": "double"},
+        {"key": "long_double", "label": "long double"},
+        {"key": "float16", "label": "_Float16"},
+        {"key": "float128", "label": "_Float128"},
+    ]
+    groups: Dict[str, Dict] = {}
+    for fname, fdata in families.items():
+        grp = (fdata or {}).get("group") or "Function Families"
+        groups.setdefault(grp, {})[fname] = fdata or {}
+
+    note = api.get("family-note")
+    if note:
+        print(f"{note}\n")
+
+    col_headers = "".join(
+        f'<th class="hc-center">{html.escape(c["label"])}</th>' for c in cols
+    )
+    for grp_title, grp_items in groups.items():
+        print(
+            f"## {grp_title}\n\n```{{raw}} html\n"
+            '<div class="hc-table-wrap"><table class="hc-table hc-table-families">\n'
+            f"  <thead><tr><th>Family</th>{col_headers}"
+            '<th class="hc-center">C23 Section</th>'
+            '<th class="hc-center">POSIX Docs</th></tr></thead>\n'
+            "  <tbody>"
+        )
+        for fname in sorted(grp_items.keys()):
+            fdata = grp_items[fname]
+            eval_res = header.evaluate_family(fname, fdata)
+            vars_res = eval_res["variants"]
+            row_id = html.escape(f"family-{fname}", quote=True)
+            cells = []
+            for col in cols:
+                v_info = vars_res.get(col["key"])
+                if v_info is None:
+                    cells.append(
+                        '<td class="hc-center">'
+                        '<span class="hc-status-na" title="Not applicable">N/A</span>'
+                        "</td>"
+                    )
+                else:
+                    badge = _status_badge_html(
+                        v_info["implemented"],
+                        v_info["accuracy"],
+                        v_info["symbol"],
+                    )
+                    cells.append(f'<td class="hc-center">{badge}</td>')
+            c_sec = _c_section_html(header, fname, "family", fdata, api)
+            posix = _posix_link_html(header, fname, "family", fdata)
+            cells_str = "".join(cells)
+            print(
+                f'    <tr id="{row_id}">'
+                f'<td><code class="hc-sym">{html.escape(fname)}</code></td>'
+                f"{cells_str}"
+                f'<td class="hc-center">{c_sec}</td>'
+                f'<td class="hc-center">{posix}</td></tr>'
+            )
+        print("  </tbody>\n</table></div>\n```\n")
+
+
 def print_header_status_md(header: Header, api: Dict):
     print(f"# {header.name}\n")
 
+    if api.get("families"):
+        print_families_md(header, api)
+
     if api.get("types"):
         print_symbol_table_md(
             header,
diff --git a/libc/utils/docgen/docgen_test.py b/libc/utils/docgen/docgen_test.py
index 5b4cf8304ada9b..170c57ce4df77c 100644
--- a/libc/utils/docgen/docgen_test.py
+++ b/libc/utils/docgen/docgen_test.py
@@ -45,6 +45,8 @@ def test_is_stub_file(self):
     def test_implements_fn(self):
         self.assertTrue(Header("stdio.h").implements_fn("printf"))
         self.assertTrue(Header("netinet/in.h").implements_fn("htonl"))
+        self.assertTrue(Header("math.h").implements_fn("acospif"))
+        self.assertFalse(Header("math.h").implements_fn("tgamma"))
         self.assertFalse(Header("stdio.h").implements_fn("sqrt"))
         self.assertFalse(Header("math.h").implements_fn("printf"))
 
@@ -69,6 +71,8 @@ def test_implements_fn(self):
 
     def test_implements_macro(self):
         self.assertTrue(Header("assert.h").implements_macro("assert"))
+        self.assertTrue(Header("math.h").implements_macro("isnan"))
+        self.assertFalse(Header("math.h").implements_macro("isgreater"))
         self.assertFalse(Header("sys/syscall.h").macro_file_exists())
         self.assertTrue(Header("sys/syscall.h").implements_macro("SYS_read"))
         self.assertTrue(Header("errno.h").implements_macro("errno"))
@@ -284,6 +288,38 @@ def test_external_urls(self):
         )
         self.assertEqual(posix_url(Header("stdio.h"), "printf", "function", {}), "")
 
+    def test_families_md(self):
+        math_hdr = Header("math.h")
+        ev = math_hdr.evaluate_family("atan2", math_hdr.api["families"]["atan2"])
+        self.assertTrue(ev["implemented"])
+        self.assertTrue(ev["variants"]["float"]["implemented"])
+        self.assertEqual(ev["variants"]["double"]["accuracy"], "1 ULP")
+        self.assertFalse(ev["variants"]["double_double"]["implemented"])
+
+        buf = io.StringIO()
+        with redirect_stdout(buf):
+            print_header_status_md(math_hdr, math_hdr.api)
+        math_out = buf.getvalue()
+        self.assertIn("{doc}`../math/index`", math_out)
+        self.assertIn("## Basic Operations", math_out)
+        self.assertIn("## Higher Math Functions", math_out)
+        self.assertNotIn("## GPU Conformance", math_out)
+        self.assertIn('title="atan2: Implemented (1 ULP)">1 ULP</span>', math_out)
+        self.assertIn('title="log_bf16: Implemented"', math_out)
+        self.assertIn(
+            'class="hc-status-na" title="Not applicable">N/A</span>', math_out
+        )
+        self.assertIn("F.10.1.4", math_out)
+
+        cmplx_hdr = Header("complex.h")
+        cbuf = io.StringIO()
+        with redirect_stdout(cbuf):
+            print_header_status_md(cmplx_hdr, cmplx_hdr.api)
+        cmplx_out = cbuf.getvalue()
+        self.assertIn("## Function Families", cmplx_out)
+        self.assertIn('title="carg: Implemented (1 ULP)">1 ULP</span>', cmplx_out)
+        self.assertIn("G.6.2.1", cmplx_out)
+
 
 if __name__ == "__main__":
     unittest.main()
diff --git a/libc/utils/docgen/header.py b/libc/utils/docgen/header.py
index 6f8de1503554cd..97faa543022822 100644
--- a/libc/utils/docgen/header.py
+++ b/libc/utils/docgen/header.py
@@ -35,7 +35,8 @@
 
 def _is_stub_file(path: Path) -> bool:
     text = path.read_text(encoding="utf-8")
-    if "todo" not in text.lower() and "unimplemented" not in text.lower():
+    has_todo = "todo" in text.lower() or "unimplemented" in text.lower()
+    if not has_todo and "math" not in path.parts:
         return False
 
     idx = text.find("LLVM_LIBC_FUNCTION")
@@ -59,12 +60,12 @@ def _is_stub_file(path: Path) -> bool:
     clean = re.sub(r"/\*.*?\*/", "", clean, flags=re.DOTALL).strip()
     stmts = [s.strip() for s in clean.split(";") if s.strip()]
     if len(stmts) == 0:
-        return True
+        return has_todo
     if len(stmts) > 2:
         return False
 
     for stmt in stmts:
-        if stmt.startswith(("libc_errno =", "return")):
+        if stmt.startswith(("libc_errno =", "return", "*signp = 0")):
             no_cast = re.sub(
                 r"(const_cast|reinterpret_cast|static_cast)\s*<[^>]+>", "", stmt
             )
@@ -222,8 +223,9 @@ def implements_macro(self, m_name: str) -> bool:
         if self.is_clang_provided():
             return True
 
+        macro_re = re.compile(rf"^\s*#\s*define\s+{re.escape(m_name)}\b", re.MULTILINE)
         for f in self.__get_macro_files():
-            if f"#define {m_name}" in f.read_text(encoding="utf-8"):
+            if macro_re.search(f.read_text(encoding="utf-8")):
                 return True
 
         if any(
@@ -237,9 +239,7 @@ def implements_macro(self, m_name: str) -> bool:
             return True
 
         def_file = self.libc_root / "include" / f"{self.name}.def"
-        if def_file.exists() and f"#define {m_name}" in def_file.read_text(
-            encoding="utf-8"
-        ):
+        if def_file.exists() and macro_re.search(def_file.read_text(encoding="utf-8")):
             return True
 
         return False
@@ -324,4 +324,35 @@ def __get_macro_files(self) -> Generator[Path, None, None]:
         libc/include/llvm-libc-macros/sys-mman-macros.h
         """
         stem = self.stem.replace("/", "-")
-        return self.macros_dir.glob(f"**/{stem}-macros.h")
+        yield from self.macros_dir.glob(f"**/{stem}-macros.h")
+        def_file = self.libc_root / "include" / f"{self.name}.def"
+        if def_file.exists():
+            for rel in re.findall(
+                r'#include\s+"(?:.*/)?llvm-libc-macros/([^"]+)"',
+                def_file.read_text(encoding="utf-8"),
+            ):
+                macro_path = self.macros_dir / rel
+                if macro_path.exists():
+                    yield macro_path
+
+    def evaluate_family(self, fam_name: str, fam_data: Dict) -> Dict:
+        variants = fam_data.get("variants") or {}
+        accuracy = fam_data.get("accuracy") or {}
+        results = {}
+        implemented_count = 0
+        for prec, sym in variants.items():
+            impl = bool(sym) and self.implements_fn(sym)
+            if impl:
+                implemented_count += 1
+            results[prec] = {
+                "symbol": sym or "",
+                "implemented": impl,
+                "accuracy": accuracy.get(prec, ""),
+            }
+        return {
+            "name": fam_name,
+            "implemented": implemented_count > 0,
+            "variants": results,
+            "implemented_count": implemented_count,
+            "total_variants": len(variants),
+        }
diff --git a/libc/utils/docgen/math.yaml b/libc/utils/docgen/math.yaml
new file mode 100644
index 00000000000000..6ec6c911bb6f1d
--- /dev/null
+++ b/libc/utils/docgen/math.yaml
@@ -0,0 +1,1945 @@
+standard: c23
+posix: posix-2024
+c-reference-root: numeric/math
+family-note: "`✓` indicates correctly rounded for all four rounding modes; ULP values\
+  \ list the largest recorded error; `N/A` marks variants not defined for that format.\
+  \  `long double` (`*l`) entrypoints alias `double`, `f80`, `double-double`, or\
+  \ `_Float128` according to the target ABI, and the `bfloat16` `log` entrypoint\
+  \ is named `log_bf16` to avoid colliding with `_Float16` `logb` (`logbf16`). \
+  \ See {doc}`../math/index` for accuracy goals, GPU conformance, performance benchmarks,\
+  \ and algorithm notes."
+family-columns:
+- key: float
+  label: float
+- key: double
+  label: double
+- key: float80
+  label: f80
+- key: double_double
+  label: double-double
+- key: float16
+  label: _Float16
+- key: float128
+  label: _Float128
+- key: bfloat16
+  label: bfloat16
+families:
+  bf16add:
+    group: Basic Operations
+    variants:
+      float: bf16addf
+      double: bf16add
+      float80: bf16addf80
+      double_double: ''
+      float128: bf16addf128
+    c-definition: 7.12.14.1
+    c-reference: numeric/math
+    c-error: F.10.11
+  bf16div:
+    group: Basic Operations
+    variants:
+      float: bf16divf
+      double: bf16div
+      float80: bf16divf80
+      double_double: ''
+      float128: bf16divf128
+    c-definition: 7.12.14.4
+    c-reference: numeric/math
+    c-error: F.10.11
+  bf16fma:
+    group: Basic Operations
+    variants:
+      float: bf16fmaf
+      double: bf16fma
+      float80: bf16fmaf80
+      double_double: ''
+      float128: bf16fmaf128
+    c-definition: 7.12.14.5
+    c-reference: numeric/math
+    c-error: F.10.11
+  bf16mul:
+    group: Basic Operations
+    variants:
+      float: bf16mulf
+      double: bf16mul
+      float80: bf16mulf80
+      double_double: ''
+      float128: bf16mulf128
+    c-definition: 7.12.14.3
+    c-reference: numeric/math
+    c-error: F.10.11
+  bf16sub:
+    group: Basic Operations
+    variants:
+      float: bf16subf
+      double: bf16sub
+      float80: bf16subf80
+      double_double: ''
+      float128: bf16subf128
+    c-definition: 7.12.14.2
+    c-reference: numeric/math
+    c-error: F.10.11
+  canonicalize:
+    group: Basic Operations
+    variants:
+      float: canonicalizef
+      double: canonicalize
+      float80: canonicalizef80
+      double_double: ''
+      float16: canonicalizef16
+      float128: canonicalizef128
+      bfloat16: canonicalizebf16
+    c-definition: 7.12.11.7
+    c-reference: numeric/math
+    c-error: F.10.8.7
+  ceil:
+    group: Basic Operations
+    variants:
+      float: ceilf
+      double: ceil
+      float80: ceilf80
+      double_double: ''
+      float16: ceilf16
+      float128: ceilf128
+      bfloat16: ceilbf16
+    c-definition: 7.12.9.1
+    c-error: F.10.6.1
+    in-latest-posix: ''
+  copysign:
+    group: Basic Operations
+    variants:
+      float: copysignf
+      double: copysign
+      float80: copysignf80
+      double_double: ''
+      float16: copysignf16
+      float128: copysignf128
+      bfloat16: copysignbf16
+    c-definition: 7.12.11.1
+    c-error: F.10.8.1
+    in-latest-posix: ''
+  dadd:
+    group: Basic Operations
+    variants:
+      float80: daddf80
+      double_double: ''
+      float128: daddf128
+    c-definition: 7.12.14.1
+    c-reference: numeric/math
+    c-error: F.10.11
+  ddiv:
+    group: Basic Operations
+    variants:
+      float80: ddivf80
+      double_double: ''
+      float128: ddivf128
+    c-definition: 7.12.14.4
+    c-reference: numeric/math
+    c-error: F.10.11
+  dfma:
+    group: Basic Operations
+    variants:
+      float80: dfmaf80
+      double_double: ''
+      float128: dfmaf128
+    c-definition: 7.12.14.5
+    c-reference: numeric/math
+    c-error: F.10.11
+  dmul:
+    group: Basic Operations
+    variants:
+      float80: dmulf80
+      double_double: ''
+      float128: dmulf128
+    c-definition: 7.12.14.3
+    c-reference: numeric/math
+    c-error: F.10.11
+  dsub:
+    group: Basic Operations
+    variants:
+      float80: dsubf80
+      double_double: ''
+      float128: dsubf128
+    c-definition: 7.12.14.2
+    c-reference: numeric/math
+    c-error: F.10.11
+  f16add:
+    group: Basic Operations
+    variants:
+      float: f16addf
+      double: f16add
+      float80: f16addf80
+      double_double: ''
+      float128: f16addf128
+    c-definition: 7.12.14.1
+    c-reference: numeric/math
+    c-error: F.10.11
+  f16div:
+    group: Basic Operations
+    variants:
+      float: f16divf
+      double: f16div
+      float80: f16divf80
+      double_double: ''
+      float128: f16divf128
+    c-definition: 7.12.14.4
+    c-reference: numeric/math
+    c-error: F.10.11
+  f16fma:
+    group: Basic Operations
+    variants:
+      float: f16fmaf
+      double: f16fma
+      float80: f16fmaf80
+      double_double: ''
+      float128: f16fmaf128
+    c-definition: 7.12.14.5
+    c-reference: numeric/math
+    c-error: F.10.11
+  f16mul:
+    group: Basic Operations
+    variants:
+      float: f16mulf
+      double: f16mul
+      float80: f16mulf80
+      double_double: ''
+      float128: f16mulf128
+    c-definition: 7.12.14.3
+    c-reference: numeric/math
+    c-error: F.10.11
+  f16sub:
+    group: Basic Operations
+    variants:
+      float: f16subf
+      double: f16sub
+      float80: f16subf80
+      double_double: ''
+      float128: f16subf128
+    c-definition: 7.12.14.2
+    c-reference: numeric/math
+    c-error: F.10.11
+  fabs:
+    group: Basic Operations
+    variants:
+      float: fabsf
+      double: fabs
+      float80: fabsf80
+      double_double: ''
+      float16: fabsf16
+      float128: fabsf128
+      bfloat16: fabsbf16
+    c-definition: 7.12.7.3
+    c-error: F.10.4.3
+    in-latest-posix: ''
+  fadd:
+    group: Basic Operations
+    variants:
+      double: fadd
+      float80: faddf80
+      double_double: ''
+      float128: faddf128
+    c-definition: 7.12.14.1
+    c-reference: numeric/math
+    c-error: F.10.11
+  fdim:
+    group: Basic Operations
+    variants:
+      float: fdimf
+      double: fdim
+      float80: fdimf80
+      double_double: ''
+      float16: fdimf16
+      float128: fdimf128
+      bfloat16: fdimbf16
+    c-definition: 7.12.12.1
+    c-error: F.10.9.1
+    in-latest-posix: ''
+  fdiv:
+    group: Basic Operations
+    variants:
+      double: fdiv
+      float80: fdivf80
+      double_double: ''
+      float128: fdivf128
+    c-definition: 7.12.14.4
+    c-reference: numeric/math
+    c-error: F.10.11
+  ffma:
+    group: Basic Operations
+    variants:
+      double: ffma
+      float80: ffmaf80
+      double_double: ''
+      float128: ffmaf128
+    c-definition: 7.12.14.5
+    c-reference: numeric/math
+    c-error: F.10.11
+  floor:
+    group: Basic Operations
+    variants:
+      float: floorf
+      double: floor
+      float80: floorf80
+      double_double: ''
+      float16: floorf16
+      float128: floorf128
+      bfloat16: floorbf16
+    c-definition: 7.12.9.2
+    c-error: F.10.6.2
+    in-latest-posix: ''
+  fmax:
+    group: Basic Operations
+    variants:
+      float: fmaxf
+      double: fmax
+      float80: fmaxf80
+      double_double: ''
+      float16: fmaxf16
+      float128: fmaxf128
+      bfloat16: fmaxbf16
+    c-definition: 7.12.12.2
+    c-error: F.10.9.2
+    in-latest-posix: ''
+  fmaximum:
+    group: Basic Operations
+    variants:
+      float: fmaximumf
+      double: fmaximum
+      float80: fmaximumf80
+      double_double: ''
+      float16: fmaximumf16
+      float128: fmaximumf128
+      bfloat16: fmaximumbf16
+    c-definition: 7.12.12.4
+    c-reference: numeric/math
+    c-error: F.10.9.4
+  fmaximum_mag:
+    group: Basic Operations
+    variants:
+      float: fmaximum_magf
+      double: fmaximum_mag
+      float80: fmaximum_magf80
+      double_double: ''
+      float16: fmaximum_magf16
+      float128: fmaximum_magf128
+      bfloat16: fmaximum_magbf16
+    c-definition: 7.12.12.6
+    c-reference: numeric/math
+    c-error: F.10.9.4
+  fmaximum_mag_num:
+    group: Basic Operations
+    variants:
+      float: fmaximum_mag_numf
+      double: fmaximum_mag_num
+      float80: fmaximum_mag_numf80
+      double_double: ''
+      float16: fmaximum_mag_numf16
+      float128: fmaximum_mag_numf128
+      bfloat16: fmaximum_mag_numbf16
+    c-definition: 7.12.12.10
+    c-reference: numeric/math
+    c-error: F.10.9.5
+  fmaximum_num:
+    group: Basic Operations
+    variants:
+      float: fmaximum_numf
+      double: fmaximum_num
+      float80: fmaximum_numf80
+      double_double: ''
+      float16: fmaximum_numf16
+      float128: fmaximum_numf128
+      bfloat16: fmaximum_numbf16
+    c-definition: 7.12.12.8
+    c-reference: numeric/math
+    c-error: F.10.9.5
+  fmin:
+    group: Basic Operations
+    variants:
+      float: fminf
+      double: fmin
+      float80: fminf80
+      double_double: ''
+      float16: fminf16
+      float128: fminf128
+      bfloat16: fminbf16
+    c-definition: 7.12.12.3
+    c-error: F.10.9.3
+    in-latest-posix: ''
+  fminimum:
+    group: Basic Operations
+    variants:
+      float: fminimumf
+      double: fminimum
+      float80: fminimumf80
+      double_double: ''
+      float16: fminimumf16
+      float128: fminimumf128
+      bfloat16: fminimumbf16
+    c-definition: 7.12.12.5
+    c-reference: numeric/math
+    c-error: F.10.9.4
+  fminimum_mag:
+    group: Basic Operations
+    variants:
+      float: fminimum_magf
+      double: fminimum_mag
+      float80: fminimum_magf80
+      double_double: ''
+      float16: fminimum_magf16
+      float128: fminimum_magf128
+      bfloat16: fminimum_magbf16
+    c-definition: 7.12.12.7
+    c-reference: numeric/math
+    c-error: F.10.9.4
+  fminimum_mag_num:
+    group: Basic Operations
+    variants:
+      float: fminimum_mag_numf
+      double: fminimum_mag_num
+      float80: fminimum_mag_numf80
+      double_double: ''
+      float16: fminimum_mag_numf16
+      float128: fminimum_mag_numf128
+      bfloat16: fminimum_mag_numbf16
+    c-definition: 7.12.12.11
+    c-reference: numeric/math
+    c-error: F.10.9.5
+  fminimum_num:
+    group: Basic Operations
+    variants:
+      float: fminimum_numf
+      double: fminimum_num
+      float80: fminimum_numf80
+      double_double: ''
+      float16: fminimum_numf16
+      float128: fminimum_numf128
+      bfloat16: fminimum_numbf16
+    c-definition: 7.12.12.9
+    c-reference: numeric/math
+    c-error: F.10.9.5
+  fmod:
+    group: Basic Operations
+    variants:
+      float: fmodf
+      double: fmod
+      float80: fmodf80
+      double_double: ''
+      float16: fmodf16
+      float128: fmodf128
+      bfloat16: fmodbf16
+    c-definition: 7.12.10.1
+    c-error: F.10.7.1
+    in-latest-posix: ''
+  fmul:
+    group: Basic Operations
+    variants:
+      double: fmul
+      float80: fmulf80
+      double_double: ''
+      float128: fmulf128
+    c-definition: 7.12.14.3
+    c-reference: numeric/math
+    c-error: F.10.11
+  frexp:
+    group: Basic Operations
+    variants:
+      float: frexpf
+      double: frexp
+      float80: frexpf80
+      double_double: ''
+      float16: frexpf16
+      float128: frexpf128
+      bfloat16: frexpbf16
+    c-definition: 7.12.6.7
+    c-error: F.10.3.7
+    in-latest-posix: ''
+  fromfp:
+    group: Basic Operations
+    variants:
+      float: fromfpf
+      double: fromfp
+      float80: fromfpf80
+      double_double: ''
+      float16: fromfpf16
+      float128: fromfpf128
+      bfloat16: fromfpbf16
+    c-definition: 7.12.9.10
+    c-reference: numeric/math
+    c-error: F.10.6.10
+  fromfpx:
+    group: Basic Operations
+    variants:
+      float: fromfpxf
+      double: fromfpx
+      float80: fromfpxf80
+      double_double: ''
+      float16: fromfpxf16
+      float128: fromfpxf128
+      bfloat16: fromfpxbf16
+    c-definition: 7.12.9.11
+    c-reference: numeric/math
+    c-error: F.10.6.11
+  fsub:
+    group: Basic Operations
+    variants:
+      double: fsub
+      float80: fsubf80
+      double_double: ''
+      float128: fsubf128
+    c-definition: 7.12.14.2
+    c-reference: numeric/math
+    c-error: F.10.11
+  getpayload:
+    group: Basic Operations
+    variants:
+      float: getpayloadf
+      double: getpayload
+      float80: getpayloadf80
+      double_double: ''
+      float16: getpayloadf16
+      float128: getpayloadf128
+      bfloat16: getpayloadbf16
+    c-definition: F.10.13.1
+    c-reference: numeric/math
+  ilogb:
+    group: Basic Operations
+    variants:
+      float: ilogbf
+      double: ilogb
+      float80: ilogbf80
+      double_double: ''
+      float16: ilogbf16
+      float128: ilogbf128
+      bfloat16: ilogbbf16
+    c-definition: 7.12.6.8
+    c-error: F.10.3.8
+    in-latest-posix: ''
+  iscanonical:
+    group: Basic Operations
+    variants:
+      float: iscanonicalf
+      double: iscanonical
+      float80: iscanonicalf80
+      double_double: ''
+      float16: iscanonicalf16
+      float128: iscanonicalf128
+      bfloat16: iscanonicalbf16
+    c-definition: 7.12.3.2
+    c-reference: numeric/math
+  issignaling:
+    group: Basic Operations
+    variants:
+      float: issignalingf
+      double: issignaling
+      float80: issignalingf80
+      double_double: ''
+      float16: issignalingf16
+      float128: issignalingf128
+      bfloat16: issignalingbf16
+    c-definition: 7.12.3.8
+    c-reference: numeric/math
+  ldexp:
+    group: Basic Operations
+    variants:
+      float: ldexpf
+      double: ldexp
+      float80: ldexpf80
+      double_double: ''
+      float16: ldexpf16
+      float128: ldexpf128
+      bfloat16: ldexpbf16
+    c-definition: 7.12.6.9
+    c-error: F.10.3.9
+    in-latest-posix: ''
+  llogb:
+    group: Basic Operations
+    variants:
+      float: llogbf
+      double: llogb
+      float80: llogbf80
+      double_double: ''
+      float16: llogbf16
+      float128: llogbf128
+      bfloat16: llogbbf16
+    c-definition: 7.12.6.10
+    c-reference: numeric/math
+    c-error: F.10.3.10
+  llrint:
+    group: Basic Operations
+    variants:
+      float: llrintf
+      double: llrint
+      float80: llrintf80
+      double_double: ''
+      float16: llrintf16
+      float128: llrintf128
+      bfloat16: llrintbf16
+    c-definition: 7.12.9.5
+    c-reference: numeric/math/rint
+    c-error: F.10.6.5
+    in-latest-posix: ''
+  llround:
+    group: Basic Operations
+    variants:
+      float: llroundf
+      double: llround
+      float80: llroundf80
+      double_double: ''
+      float16: llroundf16
+      float128: llroundf128
+      bfloat16: llroundbf16
+    c-definition: 7.12.9.7
+    c-reference: numeric/math/round
+    c-error: F.10.6.7
+    in-latest-posix: ''
+  logb:
+    group: Basic Operations
+    variants:
+      float: logbf
+      double: logb
+      float80: logbf80
+      double_double: ''
+      float16: logbf16
+      float128: logbf128
+      bfloat16: logbbf16
+    c-definition: 7.12.6.17
+    c-error: F.10.3.17
+    in-latest-posix: ''
+  lrint:
+    group: Basic Operations
+    variants:
+      float: lrintf
+      double: lrint
+      float80: lrintf80
+      double_double: ''
+      float16: lrintf16
+      float128: lrintf128
+      bfloat16: lrintbf16
+    c-definition: 7.12.9.5
+    c-reference: numeric/math/rint
+    c-error: F.10.6.5
+    in-latest-posix: ''
+  lround:
+    group: Basic Operations
+    variants:
+      float: lroundf
+      double: lround
+      float80: lroundf80
+      double_double: ''
+      float16: lroundf16
+      float128: lroundf128
+      bfloat16: lroundbf16
+    c-definition: 7.12.9.7
+    c-reference: numeric/math/round
+    c-error: F.10.6.7
+    in-latest-posix: ''
+  modf:
+    group: Basic Operations
+    variants:
+      float: modff
+      double: modf
+      float80: modff80
+      double_double: ''
+      float16: modff16
+      float128: modff128
+      bfloat16: modfbf16
+    c-definition: 7.12.6.18
+    c-error: F.10.3.18
+    in-latest-posix: ''
+  nan:
+    group: Basic Operations
+    variants:
+      float: nanf
+      double: nan
+      float80: nanf80
+      double_double: ''
+      float16: nanf16
+      float128: nanf128
+      bfloat16: nanbf16
+    c-definition: 7.12.11.2
+    c-error: F.10.8.2
+    in-latest-posix: ''
+  nearbyint:
+    group: Basic Operations
+    variants:
+      float: nearbyintf
+      double: nearbyint
+      float80: nearbyintf80
+      double_double: ''
+      float16: nearbyintf16
+      float128: nearbyintf128
+      bfloat16: nearbyintbf16
+    c-definition: 7.12.9.3
+    c-error: F.10.6.3
+    in-latest-posix: ''
+  nextafter:
+    group: Basic Operations
+    variants:
+      float: nextafterf
+      double: nextafter
+      float80: nextafterf80
+      double_double: ''
+      float16: nextafterf16
+      float128: nextafterf128
+      bfloat16: nextafterbf16
+    c-definition: 7.12.11.3
+    c-error: F.10.8.3
+    in-latest-posix: ''
+  nextdown:
+    group: Basic Operations
+    variants:
+      float: nextdownf
+      double: nextdown
+      float80: nextdownf80
+      double_double: ''
+      float16: nextdownf16
+      float128: nextdownf128
+      bfloat16: nextdownbf16
+    c-definition: 7.12.11.6
+    c-reference: numeric/math
+    c-error: F.10.8.6
+  nexttoward:
+    group: Basic Operations
+    variants:
+      float: nexttowardf
+      double: nexttoward
+      float80: nexttowardf80
+      double_double: ''
+      float16: nexttowardf16
+      bfloat16: nexttowardbf16
+    c-definition: 7.12.11.4
+    c-reference: numeric/math/nextafter
+    c-error: F.10.8.4
+    in-latest-posix: ''
+  nextup:
+    group: Basic Operations
+    variants:
+      float: nextupf
+      double: nextup
+      float80: nextupf80
+      double_double: ''
+      float16: nextupf16
+      float128: nextupf128
+      bfloat16: nextupbf16
+    c-definition: 7.12.11.5
+    c-reference: numeric/math
+    c-error: F.10.8.5
+  remainder:
+    group: Basic Operations
+    variants:
+      float: remainderf
+      double: remainder
+      float80: remainderf80
+      double_double: ''
+      float16: remainderf16
+      float128: remainderf128
+      bfloat16: remainderbf16
+    c-definition: 7.12.10.2
+    c-error: F.10.7.2
+    in-latest-posix: ''
+  remquo:
+    group: Basic Operations
+    variants:
+      float: remquof
+      double: remquo
+      float80: remquof80
+      double_double: ''
+      float16: remquof16
+      float128: remquof128
+      bfloat16: remquobf16
+    c-definition: 7.12.10.3
+    c-error: F.10.7.3
+    in-latest-posix: ''
+  rint:
+    group: Basic Operations
+    variants:
+      float: rintf
+      double: rint
+      float80: rintf80
+      double_double: ''
+      float16: rintf16
+      float128: rintf128
+      bfloat16: rintbf16
+    c-definition: 7.12.9.4
+    c-error: F.10.6.4
+    in-latest-posix: ''
+  round:
+    group: Basic Operations
+    variants:
+      float: roundf
+      double: round
+      float80: roundf80
+      double_double: ''
+      float16: roundf16
+      float128: roundf128
+      bfloat16: roundbf16
+    c-definition: 7.12.9.6
+    c-error: F.10.6.6
+    in-latest-posix: ''
+  roundeven:
+    group: Basic Operations
+    variants:
+      float: roundevenf
+      double: roundeven
+      float80: roundevenf80
+      double_double: ''
+      float16: roundevenf16
+      float128: roundevenf128
+      bfloat16: roundevenbf16
+    c-definition: 7.12.9.8
+    c-reference: numeric/math
+    c-error: F.10.6.8
+  scalbln:
+    group: Basic Operations
+    variants:
+      float: scalblnf
+      double: scalbln
+      float80: scalblnf80
+      double_double: ''
+      float16: scalblnf16
+      float128: scalblnf128
+      bfloat16: scalblnbf16
+    c-definition: 7.12.6.19
+    c-reference: numeric/math/scalbn
+    c-error: F.10.3.19
+    in-latest-posix: ''
+  scalbn:
+    group: Basic Operations
+    variants:
+      float: scalbnf
+      double: scalbn
+      float80: scalbnf80
+      double_double: ''
+      float16: scalbnf16
+      float128: scalbnf128
+      bfloat16: scalbnbf16
+    c-definition: 7.12.6.19
+    c-error: F.10.3.19
+    in-latest-posix: ''
+  setpayload:
+    group: Basic Operations
+    variants:
+      float: setpayloadf
+      double: setpayload
+      float80: setpayloadf80
+      double_double: ''
+      float16: setpayloadf16
+      float128: setpayloadf128
+      bfloat16: setpayloadbf16
+    c-definition: F.10.13.2
+    c-reference: numeric/math
+  setpayloadsig:
+    group: Basic Operations
+    variants:
+      float: setpayloadsigf
+      double: setpayloadsig
+      float80: setpayloadsigf80
+      double_double: ''
+      float16: setpayloadsigf16
+      float128: setpayloadsigf128
+      bfloat16: setpayloadsigbf16
+    c-definition: F.10.13.3
+    c-reference: numeric/math
+  totalorder:
+    group: Basic Operations
+    variants:
+      float: totalorderf
+      double: totalorder
+      float80: totalorderf80
+      double_double: ''
+      float16: totalorderf16
+      float128: totalorderf128
+      bfloat16: totalorderbf16
+    c-definition: F.10.12.1
+    c-reference: numeric/math
+  totalordermag:
+    group: Basic Operations
+    variants:
+      float: totalordermagf
+      double: totalordermag
+      float80: totalordermagf80
+      double_double: ''
+      float16: totalordermagf16
+      float128: totalordermagf128
+      bfloat16: totalordermagbf16
+    c-definition: F.10.12.2
+    c-reference: numeric/math
+  trunc:
+    group: Basic Operations
+    variants:
+      float: truncf
+      double: trunc
+      float80: truncf80
+      double_double: ''
+      float16: truncf16
+      float128: truncf128
+      bfloat16: truncbf16
+    c-definition: 7.12.9.9
+    c-error: F.10.6.9
+    in-latest-posix: ''
+  ufromfp:
+    group: Basic Operations
+    variants:
+      float: ufromfpf
+      double: ufromfp
+      float80: ufromfpf80
+      double_double: ''
+      float16: ufromfpf16
+      float128: ufromfpf128
+      bfloat16: ufromfpbf16
+    c-definition: 7.12.9.10
+    c-reference: numeric/math
+    c-error: F.10.6.10
+  ufromfpx:
+    group: Basic Operations
+    variants:
+      float: ufromfpxf
+      double: ufromfpx
+      float80: ufromfpxf80
+      double_double: ''
+      float16: ufromfpxf16
+      float128: ufromfpxf128
+      bfloat16: ufromfpxbf16
+    c-definition: 7.12.9.11
+    c-reference: numeric/math
+    c-error: F.10.6.11
+  acos:
+    group: Higher Math Functions
+    variants:
+      float: acosf
+      double: acos
+      float80: acosf80
+      double_double: ''
+      float16: acosf16
+      float128: acosf128
+      bfloat16: acosbf16
+    c-definition: 7.12.4.1
+    c-error: F.10.1.1
+    in-latest-posix: ''
+  acosh:
+    group: Higher Math Functions
+    variants:
+      float: acoshf
+      double: acosh
+      float80: acoshf80
+      double_double: ''
+      float16: acoshf16
+      float128: acoshf128
+      bfloat16: acoshbf16
+    c-definition: 7.12.5.1
+    c-error: F.10.2.1
+    in-latest-posix: ''
+  acospi:
+    group: Higher Math Functions
+    variants:
+      float: acospif
+      double: acospi
+      float80: acospif80
+      double_double: ''
+      float16: acospif16
+      float128: acospif128
+      bfloat16: acospibf16
+    c-definition: 7.12.4.8
+    c-reference: numeric/math
+    c-error: F.10.1.8
+  asin:
+    group: Higher Math Functions
+    variants:
+      float: asinf
+      double: asin
+      float80: asinf80
+      double_double: ''
+      float16: asinf16
+      float128: asinf128
+      bfloat16: asinbf16
+    c-definition: 7.12.4.2
+    c-error: F.10.1.2
+    in-latest-posix: ''
+  asinh:
+    group: Higher Math Functions
+    variants:
+      float: asinhf
+      double: asinh
+      float80: asinhf80
+      double_double: ''
+      float16: asinhf16
+      float128: asinhf128
+      bfloat16: asinhbf16
+    c-definition: 7.12.5.2
+    c-error: F.10.2.2
+    in-latest-posix: ''
+  asinpi:
+    group: Higher Math Functions
+    variants:
+      float: asinpif
+      double: asinpi
+      float80: asinpif80
+      double_double: ''
+      float16: asinpif16
+      float128: asinpif128
+      bfloat16: asinpibf16
+    c-definition: 7.12.4.9
+    c-reference: numeric/math
+    c-error: F.10.1.9
+  atan:
+    group: Higher Math Functions
+    variants:
+      float: atanf
+      double: atan
+      float80: atanf80
+      double_double: ''
+      float16: atanf16
+      float128: atanf128
+      bfloat16: atanbf16
+    accuracy:
+      double: 1 ULP
+    c-definition: 7.12.4.3
+    c-error: F.10.1.3
+    in-latest-posix: ''
+  atan2:
+    group: Higher Math Functions
+    variants:
+      float: atan2f
+      double: atan2
+      float80: atan2f80
+      double_double: ''
+      float16: atan2f16
+      float128: atan2f128
+      bfloat16: atan2bf16
+    accuracy:
+      double: 1 ULP
+      float128: 1 ULP
+    c-definition: 7.12.4.4
+    c-error: F.10.1.4
+    in-latest-posix: ''
+  atan2pi:
+    group: Higher Math Functions
+    variants:
+      float: atan2pif
+      double: atan2pi
+      float80: atan2pif80
+      double_double: ''
+      float16: atan2pif16
+      float128: atan2pif128
+      bfloat16: atan2pibf16
+    c-definition: 7.12.4.11
+    c-reference: numeric/math
+    c-error: F.10.1.11
+  atanh:
+    group: Higher Math Functions
+    variants:
+      float: atanhf
+      double: atanh
+      float80: atanhf80
+      double_double: ''
+      float16: atanhf16
+      float128: atanhf128
+      bfloat16: atanhbf16
+    c-definition: 7.12.5.3
+    c-error: F.10.2.3
+    in-latest-posix: ''
+  atanpi:
+    group: Higher Math Functions
+    variants:
+      float: atanpif
+      double: atanpi
+      float80: atanpif80
+      double_double: ''
+      float16: atanpif16
+      float128: atanpif128
+      bfloat16: atanpibf16
+    c-definition: 7.12.4.10
+    c-reference: numeric/math
+    c-error: F.10.1.10
+  cbrt:
+    group: Higher Math Functions
+    variants:
+      float: cbrtf
+      double: cbrt
+      float80: cbrtf80
+      double_double: ''
+      float16: cbrtf16
+      float128: cbrtf128
+      bfloat16: cbrtbf16
+    c-definition: 7.12.7.1
+    c-error: F.10.4.1
+    in-latest-posix: ''
+  compoundn:
+    group: Higher Math Functions
+    variants:
+      float: compoundnf
+      double: compoundn
+      float80: compoundnf80
+      double_double: ''
+      float16: compoundnf16
+      float128: compoundnf128
+      bfloat16: compoundnbf16
+    c-definition: 7.12.7.2
+    c-reference: numeric/math
+    c-error: F.10.4.2
+  cos:
+    group: Higher Math Functions
+    variants:
+      float: cosf
+      double: cos
+      float80: cosf80
+      double_double: ''
+      float16: cosf16
+      float128: cosf128
+      bfloat16: cosbf16
+    c-definition: 7.12.4.5
+    c-error: F.10.1.5
+    in-latest-posix: ''
+  cosh:
+    group: Higher Math Functions
+    variants:
+      float: coshf
+      double: cosh
+      float80: coshf80
+      double_double: ''
+      float16: coshf16
+      float128: coshf128
+      bfloat16: coshbf16
+    c-definition: 7.12.5.4
+    c-error: F.10.2.4
+    in-latest-posix: ''
+  cospi:
+    group: Higher Math Functions
+    variants:
+      float: cospif
+      double: cospi
+      float80: cospif80
+      double_double: ''
+      float16: cospif16
+      float128: cospif128
+      bfloat16: cospibf16
+    c-definition: 7.12.4.12
+    c-reference: numeric/math
+    c-error: F.10.1.12
+  dsqrt:
+    group: Higher Math Functions
+    variants:
+      float80: dsqrtf80
+      double_double: ''
+      float128: dsqrtf128
+    c-definition: 7.12.14.6
+    c-reference: numeric/math
+    c-error: F.10.11
+  erf:
+    group: Higher Math Functions
+    variants:
+      float: erff
+      double: erf
+      float80: erff80
+      double_double: ''
+      float16: erff16
+      float128: erff128
+      bfloat16: erfbf16
+    c-definition: 7.12.8.1
+    c-error: F.10.5.1
+    in-latest-posix: ''
+  erfc:
+    group: Higher Math Functions
+    variants:
+      float: erfcf
+      double: erfc
+      float80: erfcf80
+      double_double: ''
+      float16: erfcf16
+      float128: erfcf128
+      bfloat16: erfcbf16
+    c-definition: 7.12.8.2
+    c-error: F.10.5.2
+    in-latest-posix: ''
+  exp:
+    group: Higher Math Functions
+    variants:
+      float: expf
+      double: exp
+      float80: expf80
+      double_double: ''
+      float16: expf16
+      float128: expf128
+      bfloat16: expbf16
+    c-definition: 7.12.6.1
+    c-error: F.10.3.1
+    in-latest-posix: ''
+  exp10:
+    group: Higher Math Functions
+    variants:
+      float: exp10f
+      double: exp10
+      float80: exp10f80
+      double_double: ''
+      float16: exp10f16
+      float128: exp10f128
+      bfloat16: exp10bf16
+    c-definition: 7.12.6.2
+    c-reference: numeric/math
+    c-error: F.10.3.2
+  exp10m1:
+    group: Higher Math Functions
+    variants:
+      float: exp10m1f
+      double: exp10m1
+      float80: exp10m1f80
+      double_double: ''
+      float16: exp10m1f16
+      float128: exp10m1f128
+      bfloat16: exp10m1bf16
+    c-definition: 7.12.6.3
+    c-reference: numeric/math
+    c-error: F.10.3.3
+  exp2:
+    group: Higher Math Functions
+    variants:
+      float: exp2f
+      double: exp2
+      float80: exp2f80
+      double_double: ''
+      float16: exp2f16
+      float128: exp2f128
+      bfloat16: exp2bf16
+    c-definition: 7.12.6.4
+    c-error: F.10.3.4
+    in-latest-posix: ''
+  exp2m1:
+    group: Higher Math Functions
+    variants:
+      float: exp2m1f
+      double: exp2m1
+      float80: exp2m1f80
+      double_double: ''
+      float16: exp2m1f16
+      float128: exp2m1f128
+      bfloat16: exp2m1bf16
+    c-definition: 7.12.6.5
+    c-reference: numeric/math
+    c-error: F.10.3.5
+  expm1:
+    group: Higher Math Functions
+    variants:
+      float: expm1f
+      double: expm1
+      float80: expm1f80
+      double_double: ''
+      float16: expm1f16
+      float128: expm1f128
+      bfloat16: expm1bf16
+    c-definition: 7.12.6.6
+    c-error: F.10.3.6
+    in-latest-posix: ''
+  f16sqrt:
+    group: Higher Math Functions
+    variants:
+      float: f16sqrtf
+      double: f16sqrt
+      float80: f16sqrtf80
+      double_double: ''
+      float128: f16sqrtf128
+    c-definition: 7.12.14.6
+    c-reference: numeric/math
+    c-error: F.10.11
+  fma:
+    group: Higher Math Functions
+    variants:
+      float: fmaf
+      double: fma
+      float80: fmaf80
+      double_double: ''
+      float16: fmaf16
+      float128: fmaf128
+      bfloat16: fmabf16
+    c-definition: 7.12.13.1
+    c-error: F.10.10.1
+    in-latest-posix: ''
+  fsqrt:
+    group: Higher Math Functions
+    variants:
+      double: fsqrt
+      float80: fsqrtf80
+      double_double: ''
+      float128: fsqrtf128
+    c-definition: 7.12.14.6
+    c-reference: numeric/math
+    c-error: F.10.11
+  hypot:
+    group: Higher Math Functions
+    variants:
+      float: hypotf
+      double: hypot
+      float80: hypotf80
+      double_double: ''
+      float16: hypotf16
+      float128: hypotf128
+      bfloat16: hypotbf16
+    c-definition: 7.12.7.4
+    c-error: F.10.4.4
+    in-latest-posix: ''
+  lgamma:
+    group: Higher Math Functions
+    variants:
+      float: lgammaf
+      double: lgamma
+      float80: lgammaf80
+      double_double: ''
+      float16: lgammaf16
+      float128: lgammaf128
+      bfloat16: lgammabf16
+    c-definition: 7.12.8.3
+    c-error: F.10.5.3
+    in-latest-posix: ''
+  log:
+    group: Higher Math Functions
+    variants:
+      float: logf
+      double: log
+      float80: logf80
+      double_double: ''
+      float16: logf16
+      float128: logf128
+      bfloat16: log_bf16
+    c-definition: 7.12.6.11
+    c-error: F.10.3.11
+    in-latest-posix: ''
+  log10:
+    group: Higher Math Functions
+    variants:
+      float: log10f
+      double: log10
+      float80: log10f80
+      double_double: ''
+      float16: log10f16
+      float128: log10f128
+      bfloat16: log10bf16
+    c-definition: 7.12.6.12
+    c-error: F.10.3.12
+    in-latest-posix: ''
+  log10p1:
+    group: Higher Math Functions
+    variants:
+      float: log10p1f
+      double: log10p1
+      float80: log10p1f80
+      double_double: ''
+      float16: log10p1f16
+      float128: log10p1f128
+      bfloat16: log10p1bf16
+    c-definition: 7.12.6.13
+    c-reference: numeric/math
+    c-error: F.10.3.13
+  log1p:
+    group: Higher Math Functions
+    variants:
+      float: log1pf
+      double: log1p
+      float80: log1pf80
+      double_double: ''
+      float16: log1pf16
+      float128: log1pf128
+      bfloat16: log1pbf16
+    c-definition: 7.12.6.14
+    c-error: F.10.3.14
+    in-latest-posix: ''
+  log2:
+    group: Higher Math Functions
+    variants:
+      float: log2f
+      double: log2
+      float80: log2f80
+      double_double: ''
+      float16: log2f16
+      float128: log2f128
+      bfloat16: log2bf16
+    c-definition: 7.12.6.15
+    c-error: F.10.3.15
+    in-latest-posix: ''
+  log2p1:
+    group: Higher Math Functions
+    variants:
+      float: log2p1f
+      double: log2p1
+      float80: log2p1f80
+      double_double: ''
+      float16: log2p1f16
+      float128: log2p1f128
+      bfloat16: log2p1bf16
+    c-definition: 7.12.6.16
+    c-reference: numeric/math
+    c-error: F.10.3.16
+  logp1:
+    group: Higher Math Functions
+    variants:
+      float: logp1f
+      double: logp1
+      float80: logp1f80
+      double_double: ''
+      float16: logp1f16
+      float128: logp1f128
+      bfloat16: logp1bf16
+    c-definition: 7.12.6.14
+    c-reference: numeric/math
+    c-error: F.10.3.14
+  pow:
+    group: Higher Math Functions
+    variants:
+      float: powf
+      double: pow
+      float80: powf80
+      double_double: ''
+      float16: powf16
+      float128: powf128
+      bfloat16: powbf16
+    c-definition: 7.12.7.5
+    c-error: F.10.4.5
+    in-latest-posix: ''
+  powi:
+    group: Higher Math Functions
+    variants:
+      float: powif
+      double: powi
+      float80: powif80
+      double_double: ''
+      float16: powif16
+      float128: powif128
+      bfloat16: powibf16
+    extension: llvm-libc
+  pown:
+    group: Higher Math Functions
+    variants:
+      float: pownf
+      double: pown
+      float80: pownf80
+      double_double: ''
+      float16: pownf16
+      float128: pownf128
+      bfloat16: pownbf16
+    c-definition: 7.12.7.6
+    c-reference: numeric/math
+    c-error: F.10.4.6
+  powr:
+    group: Higher Math Functions
+    variants:
+      float: powrf
+      double: powr
+      float80: powrf80
+      double_double: ''
+      float16: powrf16
+      float128: powrf128
+      bfloat16: powrbf16
+    c-definition: 7.12.7.7
+    c-reference: numeric/math
+    c-error: F.10.4.7
+  rootn:
+    group: Higher Math Functions
+    variants:
+      float: rootnf
+      double: rootn
+      float80: rootnf80
+      double_double: ''
+      float16: rootnf16
+      float128: rootnf128
+      bfloat16: rootnbf16
+    c-definition: 7.12.7.8
+    c-reference: numeric/math
+    c-error: F.10.4.8
+  rsqrt:
+    group: Higher Math Functions
+    variants:
+      float: rsqrtf
+      double: rsqrt
+      float80: rsqrtf80
+      double_double: ''
+      float16: rsqrtf16
+      float128: rsqrtf128
+      bfloat16: rsqrtbf16
+    c-definition: 7.12.7.9
+    c-reference: numeric/math
+    c-error: F.10.4.9
+  sin:
+    group: Higher Math Functions
+    variants:
+      float: sinf
+      double: sin
+      float80: sinf80
+      double_double: ''
+      float16: sinf16
+      float128: sinf128
+      bfloat16: sinbf16
+    c-definition: 7.12.4.6
+    c-error: F.10.1.6
+    in-latest-posix: ''
+  sincos:
+    group: Higher Math Functions
+    variants:
+      float: sincosf
+      double: sincos
+      float80: sincosf80
+      double_double: ''
+      float16: sincosf16
+      float128: sincosf128
+      bfloat16: sincosbf16
+    extension: gnu
+  sinh:
+    group: Higher Math Functions
+    variants:
+      float: sinhf
+      double: sinh
+      float80: sinhf80
+      double_double: ''
+      float16: sinhf16
+      float128: sinhf128
+      bfloat16: sinhbf16
+    c-definition: 7.12.5.5
+    c-error: F.10.2.5
+    in-latest-posix: ''
+  sinpi:
+    group: Higher Math Functions
+    variants:
+      float: sinpif
+      double: sinpi
+      float80: sinpif80
+      double_double: ''
+      float16: sinpif16
+      float128: sinpif128
+      bfloat16: sinpibf16
+    c-definition: 7.12.4.13
+    c-reference: numeric/math
+    c-error: F.10.1.13
+  sqrt:
+    group: Higher Math Functions
+    variants:
+      float: sqrtf
+      double: sqrt
+      float80: sqrtf80
+      double_double: ''
+      float16: sqrtf16
+      float128: sqrtf128
+      bfloat16: sqrtbf16
+    c-definition: 7.12.7.10
+    c-error: F.10.4.10
+    in-latest-posix: ''
+  tan:
+    group: Higher Math Functions
+    variants:
+      float: tanf
+      double: tan
+      float80: tanf80
+      double_double: ''
+      float16: tanf16
+      float128: tanf128
+      bfloat16: tanbf16
+    c-definition: 7.12.4.7
+    c-error: F.10.1.7
+    in-latest-posix: ''
+  tanh:
+    group: Higher Math Functions
+    variants:
+      float: tanhf
+      double: tanh
+      float80: tanhf80
+      double_double: ''
+      float16: tanhf16
+      float128: tanhf128
+      bfloat16: tanhbf16
+    c-definition: 7.12.5.6
+    c-error: F.10.2.6
+    in-latest-posix: ''
+  tanpi:
+    group: Higher Math Functions
+    variants:
+      float: tanpif
+      double: tanpi
+      float80: tanpif80
+      double_double: ''
+      float16: tanpif16
+      float128: tanpif128
+      bfloat16: tanpibf16
+    c-definition: 7.12.4.14
+    c-reference: numeric/math
+    c-error: F.10.1.14
+  tgamma:
+    group: Higher Math Functions
+    variants:
+      float: tgammaf
+      double: tgamma
+      float80: tgammaf80
+      double_double: ''
+      float16: tgammaf16
+      float128: tgammaf128
+      bfloat16: tgammabf16
+    c-definition: 7.12.8.4
+    c-error: F.10.5.4
+    in-latest-posix: ''
+types:
+  double_t:
+    c-definition: '7.12'
+    c-reference: numeric/math/float_t
+    in-latest-posix: ''
+  float128:
+    extension: llvm-libc
+  float_t:
+    c-definition: '7.12'
+    c-reference: numeric/math/float_t
+    in-latest-posix: ''
+objects:
+  signgam:
+    in-latest-posix: ''
+macros:
+  FP_FAST_FMA:
+    c-definition: '7.12'
+    c-reference: numeric/math/FP_FAST_FMA
+    in-latest-posix: ''
+  FP_FAST_FMAF:
+    c-definition: '7.12'
+    c-reference: numeric/math/FP_FAST_FMA
+    in-latest-posix: ''
+  FP_FAST_FMAL:
+    c-definition: '7.12'
+    c-reference: numeric/math/FP_FAST_FMA
+    in-latest-posix: ''
+  FP_ILOGB0:
+    c-definition: '7.12'
+    c-reference: numeric/math/ilogb
+    in-latest-posix: ''
+  FP_ILOGBNAN:
+    c-definition: '7.12'
+    c-reference: numeric/math/ilogb
+    in-latest-posix: ''
+  FP_INFINITE:
+    c-definition: '7.12'
+    c-reference: numeric/math/FP_categories
+    in-latest-posix: ''
+  FP_INT_DOWNWARD:
+    c-definition: '7.12'
+  FP_INT_TONEAREST:
+    c-definition: '7.12'
+  FP_INT_TONEARESTFROMZERO:
+    c-definition: '7.12'
+  FP_INT_TOWARDZERO:
+    c-definition: '7.12'
+  FP_INT_UPWARD:
+    c-definition: '7.12'
+  FP_LLOGB0:
+    c-definition: '7.12'
+  FP_LLOGBNAN:
+    c-definition: '7.12'
+  FP_NAN:
+    c-definition: '7.12'
+    c-reference: numeric/math/FP_categories
+    in-latest-posix: ''
+  FP_NORMAL:
+    c-definition: '7.12'
+    c-reference: numeric/math/FP_categories
+    in-latest-posix: ''
+  FP_SUBNORMAL:
+    c-definition: '7.12'
+    c-reference: numeric/math/FP_categories
+    in-latest-posix: ''
+  FP_ZERO:
+    c-definition: '7.12'
+    c-reference: numeric/math/FP_categories
+    in-latest-posix: ''
+  HUGE_VAL:
+    c-definition: '7.12'
+    c-reference: numeric/math/HUGE_VAL
+    in-latest-posix: ''
+  HUGE_VALF:
+    c-definition: '7.12'
+    c-reference: numeric/math/HUGE_VAL
+    in-latest-posix: ''
+  HUGE_VALL:
+    c-definition: '7.12'
+    c-reference: numeric/math/HUGE_VAL
+    in-latest-posix: ''
+  INFINITY:
+    c-definition: '7.12'
+    c-reference: numeric/math/INFINITY
+    in-latest-posix: ''
+  MATH_ERREXCEPT:
+    c-definition: '7.12'
+    c-reference: numeric/math/math_errhandling
+    in-latest-posix: ''
+  MATH_ERRNO:
+    c-definition: '7.12'
+    c-reference: numeric/math/math_errhandling
+    in-latest-posix: ''
+  MAXFLOAT:
+    removed-in-posix-2024: ''
+  M_1_PI:
+    in-latest-posix: ''
+  M_1_PIf:
+    in-latest-posix: ''
+  M_1_PIf128:
+    extension: llvm-libc
+  M_1_PIf16:
+    extension: llvm-libc
+  M_1_PIl:
+    in-latest-posix: ''
+  M_1_SQRTPI:
+    in-latest-posix: ''
+  M_1_SQRTPIf:
+    in-latest-posix: ''
+  M_1_SQRTPIf128:
+    extension: llvm-libc
+  M_1_SQRTPIf16:
+    extension: llvm-libc
+  M_1_SQRTPIl:
+    in-latest-posix: ''
+  M_2_PI:
+    in-latest-posix: ''
+  M_2_PIf:
+    in-latest-posix: ''
+  M_2_PIf128:
+    extension: llvm-libc
+  M_2_PIf16:
+    extension: llvm-libc
+  M_2_PIl:
+    in-latest-posix: ''
+  M_2_SQRTPI:
+    in-latest-posix: ''
+  M_2_SQRTPIf:
+    in-latest-posix: ''
+  M_2_SQRTPIf128:
+    extension: llvm-libc
+  M_2_SQRTPIf16:
+    extension: llvm-libc
+  M_2_SQRTPIl:
+    in-latest-posix: ''
+  M_E:
+    in-latest-posix: ''
+  M_EGAMMA:
+    in-latest-posix: ''
+  M_EGAMMAf:
+    in-latest-posix: ''
+  M_EGAMMAf128:
+    extension: llvm-libc
+  M_EGAMMAf16:
+    extension: llvm-libc
+  M_EGAMMAl:
+    in-latest-posix: ''
+  M_Ef:
+    in-latest-posix: ''
+  M_Ef128:
+    extension: llvm-libc
+  M_Ef16:
+    extension: llvm-libc
+  M_El:
+    in-latest-posix: ''
+  M_LN10:
+    in-latest-posix: ''
+  M_LN10f:
+    in-latest-posix: ''
+  M_LN10f128:
+    extension: llvm-libc
+  M_LN10f16:
+    extension: llvm-libc
+  M_LN10l:
+    in-latest-posix: ''
+  M_LN2:
+    in-latest-posix: ''
+  M_LN2f:
+    in-latest-posix: ''
+  M_LN2f128:
+    extension: llvm-libc
+  M_LN2f16:
+    extension: llvm-libc
+  M_LN2l:
+    in-latest-posix: ''
+  M_LOG10E:
+    in-latest-posix: ''
+  M_LOG10Ef:
+    in-latest-posix: ''
+  M_LOG10Ef128:
+    extension: llvm-libc
+  M_LOG10Ef16:
+    extension: llvm-libc
+  M_LOG10El:
+    in-latest-posix: ''
+  M_LOG2E:
+    in-latest-posix: ''
+  M_LOG2Ef:
+    in-latest-posix: ''
+  M_LOG2Ef128:
+    extension: llvm-libc
+  M_LOG2Ef16:
+    extension: llvm-libc
+  M_LOG2El:
+    in-latest-posix: ''
+  M_PHI:
+    in-latest-posix: ''
+  M_PHIf:
+    in-latest-posix: ''
+  M_PHIf128:
+    extension: llvm-libc
+  M_PHIf16:
+    extension: llvm-libc
+  M_PHIl:
+    in-latest-posix: ''
+  M_PI:
+    in-latest-posix: ''
+  M_PI_2:
+    in-latest-posix: ''
+  M_PI_2f:
+    in-latest-posix: ''
+  M_PI_2f128:
+    extension: llvm-libc
+  M_PI_2f16:
+    extension: llvm-libc
+  M_PI_2l:
+    in-latest-posix: ''
+  M_PI_4:
+    in-latest-posix: ''
+  M_PI_4f:
+    in-latest-posix: ''
+  M_PI_4f128:
+    extension: llvm-libc
+  M_PI_4f16:
+    extension: llvm-libc
+  M_PI_4l:
+    in-latest-posix: ''
+  M_PIf:
+    in-latest-posix: ''
+  M_PIf128:
+    extension: llvm-libc
+  M_PIf16:
+    extension: llvm-libc
+  M_PIl:
+    in-latest-posix: ''
+  M_SQRT1_2:
+    in-latest-posix: ''
+  M_SQRT1_2f:
+    in-latest-posix: ''
+  M_SQRT1_2f128:
+    extension: llvm-libc
+  M_SQRT1_2f16:
+    extension: llvm-libc
+  M_SQRT1_2l:
+    in-latest-posix: ''
+  M_SQRT1_3:
+    in-latest-posix: ''
+  M_SQRT1_3f:
+    in-latest-posix: ''
+  M_SQRT1_3f128:
+    extension: llvm-libc
+  M_SQRT1_3f16:
+    extension: llvm-libc
+  M_SQRT1_3l:
+    in-latest-posix: ''
+  M_SQRT2:
+    in-latest-posix: ''
+  M_SQRT2f:
+    in-latest-posix: ''
+  M_SQRT2f128:
+    extension: llvm-libc
+  M_SQRT2f16:
+    extension: llvm-libc
+  M_SQRT2l:
+    in-latest-posix: ''
+  M_SQRT3:
+    in-latest-posix: ''
+  M_SQRT3f:
+    in-latest-posix: ''
+  M_SQRT3f128:
+    extension: llvm-libc
+  M_SQRT3f16:
+    extension: llvm-libc
+  M_SQRT3l:
+    in-latest-posix: ''
+  NAN:
+    c-definition: '7.12'
+    c-reference: numeric/math/NAN
+    in-latest-posix: ''
+  __STDC_VERSION_MATH_H__:
+    c-definition: '7.12'
+  fpclassify:
+    c-definition: 7.12.3.1
+    c-reference: numeric/math/fpclassify
+    in-latest-posix: ''
+  iscanonical:
+    c-definition: 7.12.3.2
+  isfinite:
+    c-definition: 7.12.3.3
+    c-reference: numeric/math/isfinite
+    in-latest-posix: ''
+  isgreater:
+    c-definition: 7.12.15.1
+    c-reference: numeric/math/isgreater
+    in-latest-posix: ''
+  isgreaterequal:
+    c-definition: 7.12.15.2
+    c-reference: numeric/math/isgreaterequal
+    in-latest-posix: ''
+  isinf:
+    c-definition: 7.12.3.4
+    c-reference: numeric/math/isinf
+    in-latest-posix: ''
+  isless:
+    c-definition: 7.12.15.3
+    c-reference: numeric/math/isless
+    in-latest-posix: ''
+  islessequal:
+    c-definition: 7.12.15.4
+    c-reference: numeric/math/islessequal
+    in-latest-posix: ''
+  islessgreater:
+    c-definition: 7.12.15.5
+    c-reference: numeric/math/islessgreater
+    in-latest-posix: ''
+  isnan:
+    c-definition: 7.12.3.5
+    c-reference: numeric/math/isnan
+    in-latest-posix: ''
+  isnormal:
+    c-definition: 7.12.3.6
+    c-reference: numeric/math/isnormal
+    in-latest-posix: ''
+  issignaling:
+    c-definition: 7.12.3.8
+  issubnormal:
+    c-definition: 7.12.3.9
+  isunordered:
+    c-definition: 7.12.15.6
+    c-reference: numeric/math/isunordered
+    in-latest-posix: ''
+  iszero:
+    c-definition: 7.12.3.10
+  math_errhandling:
+    c-definition: '7.12'
+    c-reference: numeric/math/math_errhandling
+    in-latest-posix: ''
+  signbit:
+    c-definition: 7.12.3.7
+    c-reference: numeric/math/signbit
+    in-latest-posix: ''
+functions:
+  isnan:
+    extension: bsd
+  isnanf:
+    extension: bsd
+  isnanf128:
+    extension: bsd
+  isnanf16:
+    extension: bsd
+  isnanf80:
+    extension: bsd
+  isnanl:
+    extension: bsd
+  j0:
+    in-latest-posix: ''
+  j1:
+    in-latest-posix: ''
+  jn:
+    in-latest-posix: ''
+  lgamma_r:
+    extension: gnu
+  lgammaf_r:
+    extension: gnu
+  lgammal_r:
+    extension: gnu
+  y0:
+    in-latest-posix: ''
+  y1:
+    in-latest-posix: ''
+  yn:
+    in-latest-posix: ''



More information about the libc-commits mailing list