ldbl-128ibm-compat: Add strfmon_l with IEEE long double format
commit66fa30828a1eb3d96cb92c080fa0b7376bda9b11
authorRajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
Thu, 28 Jun 2018 09:47:42 +0000 (28 15:17 +0530)
committerGabriel F. T. Gomes <gabrielftg@linux.ibm.com>
Tue, 3 Dec 2019 16:30:37 +0000 (3 13:30 -0300)
tree47caacec459b8a73f24d3d6eb304db3b57dde8d8
parent5d39f37b260a98cfcc5ac312817ce8de534c00b1
ldbl-128ibm-compat: Add strfmon_l with IEEE long double format

Similarly to what has been done for printf-like functions, more
specifically to the internal implementation in __vfprintf_internal, this
patch extends __vstrfmon_l_internal to deal with long double values with
binary128 format (as a third format option and reusing the float128
implementation).

Tested for powerpc64le, powerpc64, x86_64, and with build-many-glibcs.

Reviewed-by: Paul E. Murphy <murphyp@linux.ibm.com>
include/monetary.h
stdlib/strfmon_l.c
sysdeps/ieee754/ldbl-128ibm-compat/Makefile
sysdeps/ieee754/ldbl-128ibm-compat/Versions
sysdeps/ieee754/ldbl-128ibm-compat/ieee128-strfmon.c [new file with mode: 0644]
sysdeps/ieee754/ldbl-128ibm-compat/ieee128-strfmon_l.c [new file with mode: 0644]