diff options
author | Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com> | 2018-06-28 15:17:42 +0530 |
---|---|---|
committer | Gabriel F. T. Gomes <gabrielftg@linux.ibm.com> | 2019-12-03 13:30:37 -0300 |
commit | 66fa30828a1eb3d96cb92c080fa0b7376bda9b11 (patch) | |
tree | 47caacec459b8a73f24d3d6eb304db3b57dde8d8 /include | |
parent | ldbl-128ibm-compat: Replace http with https in new files (diff) | |
download | glibc-66fa30828a1eb3d96cb92c080fa0b7376bda9b11.tar.gz glibc-66fa30828a1eb3d96cb92c080fa0b7376bda9b11.tar.bz2 glibc-66fa30828a1eb3d96cb92c080fa0b7376bda9b11.zip |
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>
Diffstat (limited to 'include')
-rw-r--r-- | include/monetary.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/include/monetary.h b/include/monetary.h index f59bdf9150..240925e87d 100644 --- a/include/monetary.h +++ b/include/monetary.h @@ -15,5 +15,6 @@ __vstrfmon_l_internal (char *s, size_t maxsize, locale_t loc, same format as double, in which case the flag should be set to one, or as another format, otherwise. */ #define STRFMON_LDBL_IS_DBL 0x0001 +#define STRFMON_LDBL_USES_FLOAT128 0x0002 #endif |