This is the mail archive of the
libc-alpha@sourceware.org
mailing list for the glibc project.
[PATCH v2 0/9] Add string functions and libm tests for _Float128
- From: "Gabriel F. T. Gomes" <gftg at linux dot vnet dot ibm dot com>
- To: libc-alpha at sourceware dot org
- Date: Fri, 2 Jun 2017 20:27:22 -0300
- Subject: [PATCH v2 0/9] Add string functions and libm tests for _Float128
- Authentication-results: sourceware.org; auth=none
I added a "Changes since v1" to each patch in this series.
Gabriel F. T. Gomes (6):
float128: Add conversion from float128 to mpn
Remove duplicated code from __printf_fp_l, __printf_fphex, and
__printf_size
Refactor PRINT_FPHEX_LONG_DOUBLE into a reusable macro
float128: Add strfromf128
float128: Add strfromf128, strtof128, and wcstof128 to the manual
Allow macros prefixed with FLT128 in include/float.h
Paul E. Murphy (3):
float128: Extend the power of ten tables
float128: Add strtof128, wcstof128, and related functions.
float128: Add test-{float128,ifloat128,float128-finite}
include/float.h | 31 ++--
include/gmp.h | 12 ++
include/stdlib.h | 29 ++++
include/wchar.h | 13 ++
manual/arith.texi | 45 +++++-
manual/math.texi | 11 ++
math/gen-libm-test.pl | 5 +-
math/libm-test-exp10.inc | 2 +
math/libm-test-isfinite.inc | 2 +
math/libm-test-lgamma.inc | 2 +
math/libm-test-nexttoward.inc | 4 +
math/libm-test-remainder.inc | 2 +
math/libm-test-scalb.inc | 4 +
math/libm-test-significand.inc | 4 +
math/libm-test-support.c | 4 +-
math/libm-test-support.h | 2 +-
math/test-double.h | 2 +
math/test-float.h | 2 +
math/test-float128.h | 35 +++++
math/test-ldouble.h | 2 +
math/test-math-floatn.h | 21 +++
stdio-common/printf-parsemb.c | 1 +
stdio-common/printf.h | 4 +-
stdio-common/printf_fp.c | 192 ++++++++++++++-----------
stdio-common/printf_fphex.c | 131 ++++++++---------
stdio-common/printf_size.c | 83 +++++------
stdio-common/vfprintf.c | 10 +-
stdlib/Makefile | 1 +
stdlib/fpioconst.c | 8 +-
stdlib/fpioconst.h | 18 ++-
stdlib/gmp-impl.h | 3 +-
stdlib/stdlib.h | 22 +++
stdlib/strfrom-skeleton.c | 6 +
stdlib/tst-strtod-nan-locale-main.c | 36 ++---
stdlib/tst-strtod-round-skeleton.c | 1 +
stdlib/tst-strtod.h | 42 ++++--
sysdeps/ieee754/float128/Makefile | 8 ++
sysdeps/ieee754/float128/Versions | 15 ++
sysdeps/ieee754/float128/float1282mpn.c | 19 +++
sysdeps/ieee754/float128/float128_private.h | 2 +
sysdeps/ieee754/float128/mpn2float128.c | 54 +++++++
sysdeps/ieee754/float128/strfromf128.c | 25 ++++
sysdeps/ieee754/float128/strtod_nan_float128.h | 33 +++++
sysdeps/ieee754/float128/strtof128.c | 34 +++++
sysdeps/ieee754/float128/strtof128_l.c | 43 ++++++
sysdeps/ieee754/float128/strtof128_nan.c | 28 ++++
sysdeps/ieee754/float128/wcstof128.c | 30 ++++
sysdeps/ieee754/float128/wcstof128_l.c | 30 ++++
sysdeps/ieee754/float128/wcstof128_nan.c | 24 ++++
sysdeps/ieee754/ldbl-128/ldbl2mpn.c | 3 +-
sysdeps/ieee754/ldbl-128/printf_fphex.c | 88 +-----------
sysdeps/ieee754/ldbl-128/printf_fphex_macros.h | 104 ++++++++++++++
wcsmbs/Makefile | 2 +
wcsmbs/wchar.h | 15 ++
54 files changed, 998 insertions(+), 351 deletions(-)
create mode 100644 math/test-float128.h
create mode 100644 math/test-math-floatn.h
create mode 100644 sysdeps/ieee754/float128/Makefile
create mode 100644 sysdeps/ieee754/float128/float1282mpn.c
create mode 100644 sysdeps/ieee754/float128/mpn2float128.c
create mode 100644 sysdeps/ieee754/float128/strfromf128.c
create mode 100644 sysdeps/ieee754/float128/strtod_nan_float128.h
create mode 100644 sysdeps/ieee754/float128/strtof128.c
create mode 100644 sysdeps/ieee754/float128/strtof128_l.c
create mode 100644 sysdeps/ieee754/float128/strtof128_nan.c
create mode 100644 sysdeps/ieee754/float128/wcstof128.c
create mode 100644 sysdeps/ieee754/float128/wcstof128_l.c
create mode 100644 sysdeps/ieee754/float128/wcstof128_nan.c
create mode 100644 sysdeps/ieee754/ldbl-128/printf_fphex_macros.h
--
2.4.11