This is the mail archive of the
libc-alpha@sourceware.org
mailing list for the glibc project.
[PATCH v2 0/3] New strfrom functions
- From: "Gabriel F. T. Gomes" <gftg at linux dot vnet dot ibm dot com>
- To: libc-alpha at sourceware dot org
- Date: Tue, 30 Aug 2016 12:07:41 -0300
- Subject: [PATCH v2 0/3] New strfrom functions
- Authentication-results: sourceware.org; auth=none
Changes since the previous version:
- Remove wide-character and locale versions of the functions. This is done
in order to keep the API minimal (as it is designed to be) and taking into
account that it is easy to convert to and from wide strings, as well as it
is OK to expect users to use uselocale.
- Remove use of unnecessary internal functions.
- Remove use of legacy, swprintf-like behavior.
- Fix headers to use __GLIBC_USE (IEC_60559_BFP_EXT) properly.
- Fix several GNU coding style errors.
- Move NEWS text to the end of the block.
- Group all functions into the same deftypefun in the manual, as well as fix
typos and errors in the references to the standard.
- Split the addition of the new test and test refactoring into two patches.
Tested on ppc, ppc64, ppc64le, s390, and x86_64.
Gabriel F. T. Gomes (1):
Add strfromd, strfromf, and strfroml functions
Rajalakshmi Srinivasaraghavan (2):
Refactor strtod tests
Add tests for strfrom functions
NEWS | 3 +
manual/arith.texi | 41 ++++++
stdlib/Makefile | 10 +-
stdlib/Versions | 4 +
stdlib/bug-strtod.c | 6 +-
stdlib/bug-strtod2.c | 2 +-
stdlib/stdlib.h | 16 ++-
stdlib/strfrom-skeleton.c | 159 +++++++++++++++++++++
stdlib/strfromd.c | 23 +++
stdlib/strfromf.c | 23 +++
stdlib/strfroml.c | 23 +++
stdlib/tst-strfrom.c | 151 +++++++++++++++++++
stdlib/tst-strtod-round-skeleton.c | 24 ++--
stdlib/tst-strtod.h | 7 +-
stdlib/tst-strtod6.c | 2 +-
sysdeps/arm/nacl/libc.abilist | 3 +
sysdeps/unix/sysv/linux/aarch64/libc.abilist | 3 +
sysdeps/unix/sysv/linux/alpha/libc.abilist | 3 +
sysdeps/unix/sysv/linux/arm/libc.abilist | 3 +
sysdeps/unix/sysv/linux/hppa/libc.abilist | 3 +
sysdeps/unix/sysv/linux/i386/libc.abilist | 3 +
sysdeps/unix/sysv/linux/ia64/libc.abilist | 3 +
sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist | 3 +
sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist | 3 +
sysdeps/unix/sysv/linux/microblaze/libc.abilist | 3 +
.../unix/sysv/linux/mips/mips32/fpu/libc.abilist | 3 +
.../unix/sysv/linux/mips/mips32/nofpu/libc.abilist | 3 +
.../unix/sysv/linux/mips/mips64/n32/libc.abilist | 3 +
.../unix/sysv/linux/mips/mips64/n64/libc.abilist | 3 +
sysdeps/unix/sysv/linux/nios2/libc.abilist | 3 +
.../sysv/linux/powerpc/powerpc32/fpu/libc.abilist | 3 +
.../linux/powerpc/powerpc32/nofpu/libc.abilist | 3 +
.../sysv/linux/powerpc/powerpc64/libc-le.abilist | 3 +
.../unix/sysv/linux/powerpc/powerpc64/libc.abilist | 3 +
sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist | 3 +
sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist | 3 +
sysdeps/unix/sysv/linux/sh/libc.abilist | 3 +
sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist | 3 +
sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist | 3 +
.../sysv/linux/tile/tilegx/tilegx32/libc.abilist | 3 +
.../sysv/linux/tile/tilegx/tilegx64/libc.abilist | 3 +
sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist | 3 +
sysdeps/unix/sysv/linux/x86_64/64/libc.abilist | 3 +
sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist | 3 +
44 files changed, 557 insertions(+), 24 deletions(-)
create mode 100644 stdlib/strfrom-skeleton.c
create mode 100644 stdlib/strfromd.c
create mode 100644 stdlib/strfromf.c
create mode 100644 stdlib/strfroml.c
create mode 100644 stdlib/tst-strfrom.c
--
2.4.11