[libc-commits] [libc] 7caae24 - [libc]Identify which processors are completed for Math
Jeff Bailey via libc-commits
libc-commits at lists.llvm.org
Mon Oct 17 20:12:49 PDT 2022
Author: Jeff Bailey
Date: 2022-10-18T03:12:44Z
New Revision: 7caae244730eb49b9e3f632225f53902fd956940
URL: https://github.com/llvm/llvm-project/commit/7caae244730eb49b9e3f632225f53902fd956940
DIFF: https://github.com/llvm/llvm-project/commit/7caae244730eb49b9e3f632225f53902fd956940.diff
LOG: [libc]Identify which processors are completed for Math
Switch from green checkmarks to the following legend:
X = x86_64
A = aarch64
a = arm32
Reviewed By: lntue
Differential Revision: https://reviews.llvm.org/D136020
Added:
Modified:
libc/docs/math.rst
Removed:
################################################################################
diff --git a/libc/docs/math.rst b/libc/docs/math.rst
index 42dfef748e143..329280bb305f7 100644
--- a/libc/docs/math.rst
+++ b/libc/docs/math.rst
@@ -4,6 +4,13 @@ Math Functions
.. include:: check.rst
+.. raw:: html
+
+ <style> .green {color:green} </style>
+
+.. role:: green
+
+
.. contents:: Table of Contents
:depth: 4
:local:
@@ -60,17 +67,17 @@ Basic Operations
============== ================ =============== ======================
<Func> <Func_f> (float) <Func> (double) <Func_l> (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 @@ islessgreater
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 @@ Higher Math Functions
============== ================ =============== ======================
<Func> <Func_f> (float) <Func> (double) <Func_l> (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 @@ Accuracy of Higher Math Functions
============== ================ =============== ======================
<Func> <Func_f> (float) <Func> (double) <Func_l> (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.
More information about the libc-commits
mailing list