aboutsummaryrefslogtreecommitdiff
path: root/ChangeLog
diff options
context:
space:
mode:
authorJoseph Myers <joseph@codesourcery.com>2018-10-24 20:34:31 +0000
committerJoseph Myers <joseph@codesourcery.com>2018-10-24 20:34:31 +0000
commitb71ac2b9ce840391a7c6b96bfa045802d21596c9 (patch)
treee32c3c11fbbdc806418f668135adf82278765839 /ChangeLog
parentd51f99ce807a349993ec3f674138b0ddfc34da04 (diff)
downloadglibc-b71ac2b9ce840391a7c6b96bfa045802d21596c9.tar
glibc-b71ac2b9ce840391a7c6b96bfa045802d21596c9.tar.gz
glibc-b71ac2b9ce840391a7c6b96bfa045802d21596c9.tar.bz2
glibc-b71ac2b9ce840391a7c6b96bfa045802d21596c9.zip
Use gen-libm-test.py to generate ulps table for manual.
This patch extends gen-libm-test.py to generate the ulps table for the manual, so meaning there is only a single ulps file parser needed and another Perl script is eliminated. As with the introduction of gen-libm-test.py, this is designed to generate exactly the same libm-err.texi as libm-err-tab.pl did. (gen-libm-test.py is still shorter in lines than the old gen-libm-test.pl even after this patch.) Note that this introduces a Python dependency for building the manual, which is thus noted in install.texi and NEWS. Tested building html / info / pdf versions of the manual. * math/gen-libm-test.py: Import os. (ALL_FLOATS_MANUAL): New constant. (ALL_FLOATS_SUFFIX): Likewise. (Ulps.all_functions): New function. (real_all_ulps): Likewise. (generate_err_table_sub): Likewise. (generate_err_table): Likewise. (main): Handle -s and -m options. * manual/libm-err-tab.pl: Remove. * manual/Makefile ($(objpfx)stamp-libm-err): Use gen-libm-test.py instead of libm-err-tab.pl. [$(PERL) != no]: Change condition to [$(if $(PYTHON),$(PERL),no) != no]. * manual/install.texi (Tools for Compilation): Document requirement for Python to build manual. * INSTALL: Regenerated.
Diffstat (limited to 'ChangeLog')
-rw-r--r--ChangeLog19
1 files changed, 19 insertions, 0 deletions
diff --git a/ChangeLog b/ChangeLog
index 258fc16656..ad39f2dacb 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,22 @@
+2018-10-24 Joseph Myers <joseph@codesourcery.com>
+
+ * math/gen-libm-test.py: Import os.
+ (ALL_FLOATS_MANUAL): New constant.
+ (ALL_FLOATS_SUFFIX): Likewise.
+ (Ulps.all_functions): New function.
+ (real_all_ulps): Likewise.
+ (generate_err_table_sub): Likewise.
+ (generate_err_table): Likewise.
+ (main): Handle -s and -m options.
+ * manual/libm-err-tab.pl: Remove.
+ * manual/Makefile ($(objpfx)stamp-libm-err): Use gen-libm-test.py
+ instead of libm-err-tab.pl.
+ [$(PERL) != no]: Change condition to [$(if $(PYTHON),$(PERL),no)
+ != no].
+ * manual/install.texi (Tools for Compilation): Document
+ requirement for Python to build manual.
+ * INSTALL: Regenerated.
+
2018-10-24 Albert ARIBAUD <albert.aribaud@3adev.fr>
* bits/time64.h: New file.