diff --git a/libc/docs/math.rst b/libc/docs/math.rst
--- a/libc/docs/math.rst
+++ b/libc/docs/math.rst
@@ -4,6 +4,13 @@
.. include:: check.rst
+.. raw:: html
+
+
+
+.. role:: green
+
+
.. contents:: Table of Contents
:depth: 4
:local:
@@ -60,17 +67,17 @@
============== ================ =============== ======================
(float) (double) (long double)
============== ================ =============== ======================
-ceil |check| |check| |check|
-copysign |check| |check| |check|
-fabs |check| |check| |check|
-fdim |check| |check| |check|
-floor |check| |check| |check|
-fmax |check| |check| |check|
-fmin |check| |check| |check|
-fmod |check| |check|
+ceil :green:`XA` :green:`XA` :green:`XA`
+copysign :green:`XA` :green:`XA` :green:`XA`
+fabs :green:`XA` :green:`XA` :green:`XA`
+fdim :green:`XA` :green:`XA` :green:`XA`
+floor :green:`XA` :green:`XA` :green:`XA`
+fmax :green:`XA` :green:`XA` :green:`XA`
+fmin :green:`XA` :green:`XA` :green:`XA`
+fmod :green:`XA` :green:`XA`
fpclassify
-frexp |check| |check| |check|
-ilogb |check| |check| |check|
+frexp :green:`XA` :green:`XA` :green:`XA`
+ilogb :green:`XA` :green:`XA` :green:`XA`
isfinite
isgreater
isgreaterequal
@@ -81,24 +88,24 @@
isnan
isnormal
isubordered
-ldexp |check| |check| |check|
-llrint |check| |check| |check|
-llround |check| |check| |check|
-logb |check| |check| |check|
-lrint |check| |check| |check|
-lround |check| |check| |check|
-modf |check| |check| |check|
+ldexp :green:`XA` :green:`XA` :green:`XA`
+llrint :green:`XA` :green:`XA` :green:`XA`
+llround :green:`XA` :green:`XA` :green:`XA`
+logb :green:`XA` :green:`XA` :green:`XA`
+lrint :green:`XA` :green:`XA` :green:`XA`
+lround :green:`XA` :green:`XA` :green:`XA`
+modf :green:`XA` :green:`XA` :green:`XA`
nan
-nearbyint |check| |check| |check|
-nextafter |check| |check| |check|
+nearbyint :green:`XA` :green:`XA` :green:`XA`
+nextafter :green:`XA` :green:`XA` :green:`XA`
nexttoward
-remainder |check| |check| |check|
-remquo |check| |check| |check|
-rint |check| |check| |check|
-round |check| |check| |check|
+remainder :green:`XA` :green:`XA` :green:`XA`
+remquo :green:`XA` :green:`XA` :green:`XA`
+rint :green:`XA` :green:`XA` :green:`XA`
+round :green:`XA` :green:`XA` :green:`XA`
scalbn
signbit
-trunc |check| |check| |check|
+trunc :green:`XA` :green:`XA` :green:`XA`
============== ================ =============== ======================
Higher Math Functions
@@ -107,36 +114,36 @@
============== ================ =============== ======================
(float) (double) (long double)
============== ================ =============== ======================
-acos |check|
+acos :green:`XA`
acosh
-asin |check|
+asin :green:`XA`
asinh
-atan |check|
+atan :green:`XA`
atan2
-atanh |check|
+atanh :green:`XA`
cbrt
-cos |check| |check|
-cosh |check|
+cos :green:`XA` :green:`XA`
+cosh :green:`XA`
erf
erfc
-exp |check|
-exp10 |check|
-exp2 |check|
-expm1 |check|
-fma |check| |check|
-hypot |check| |check|
+exp :green:`XA`
+exp10 :green:`XA`
+exp2 :green:`XA`
+expm1 :green:`XA`
+fma :green:`XA` :green:`XA`
+hypot :green:`XA` :green:`XA`
lgamma
-log |check|
-log10 |check|
-log1p |check|
-log2 |check|
+log :green:`XA`
+log10 :green:`XA`
+log1p :green:`XA`
+log2 :green:`XA`
pow
-sin |check| |check|
-sincos |check| |check|
-sinh |check|
-sqrt |check| |check| |check|
-tan |check|
-tanh |check|
+sin :green:`XA` :green:`XA`
+sincos :green:`XA` :green:`XA`
+sinh :green:`XA`
+sqrt :green:`XA` :green:`XA` :green:`XA`
+tan :green:`XA`
+tanh :green:`XA`
tgamma
============== ================ =============== ======================
@@ -146,33 +153,34 @@
============== ================ =============== ======================
(float) (double) (long double)
============== ================ =============== ======================
-acos |check|
-asin |check|
-atan |check|
-atanh |check|
-cos |check| large
-cosh |check|
-exp |check|
-exp10 |check|
-exp2 |check|
-expm1 |check|
-fma |check| |check|
-hypot |check| |check|
-log |check|
-log10 |check|
-log1p |check|
-log2 |check|
-sin |check| large
-sincos |check| large
-sinh |check|
-sqrt |check| |check| |check|
-tan |check|
-tanh |check|
+acos :green:`XA`
+asin :green:`XA`
+atan :green:`XA`
+atanh :green:`XA`
+cos :green:`XA` large
+cosh :green:`XA`
+exp :green:`XA`
+exp10 :green:`XA`
+exp2 :green:`XA`
+expm1 :green:`XA`
+fma :green:`XA` :green:`XA`
+hypot :green:`XA` :green:`XA`
+log :green:`XA`
+log10 :green:`XA`
+log1p :green:`XA`
+log2 :green:`XA`
+sin :green:`XA` large
+sincos :green:`XA` large
+sinh :green:`XA`
+sqrt :green:`XA` :green:`XA` :green:`XA`
+tan :green:`XA`
+tanh :green:`XA`
============== ================ =============== ======================
Legends:
-* |check|: correctly rounded for all 4 rounding modes.
+* `X` = x86_64, `A` = aarch64, `a` = arm32
+* Green text (eg. :green:`XA`): 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.