diff options
| author | Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com> | 2016-09-27 15:28:49 -0300 |
|---|---|---|
| committer | Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com> | 2016-12-20 17:58:20 -0200 |
| commit | 06fea2257dd93aa813f9a8a6ef09c0dc9ee5744d (patch) | |
| tree | 8a3eebebac72f3f4ccebede4ada80b86e60aa664 /ChangeLog | |
| parent | dd037fb3df286b7c2d0b0c6f8d02a2dd8a8e8a08 (diff) | |
| download | glibc-06fea2257dd93aa813f9a8a6ef09c0dc9ee5744d.tar.xz glibc-06fea2257dd93aa813f9a8a6ef09c0dc9ee5744d.zip | |
Replace use of snprintf with strfrom in libm tests
In order to support float128 tests, the calls to snprintf, which does
not support the type __float128, are replaced with calls to
strfrom{f,d,l}.
Tested for powerpc64le, s390, and x64_64.
Diffstat (limited to 'ChangeLog')
| -rw-r--r-- | ChangeLog | 21 |
1 files changed, 21 insertions, 0 deletions
@@ -1,3 +1,24 @@ +2016-12-20 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com> + + * math/libm-test.inc (fmt_ftostr): New function. + (print_float, check_float_internal): Replace some uses of + FTOSTR with uses of fmt_ftostr. + (print_max_error, print_complex_max_error, print_function_ulps) + (print_complex_function_ulps): Remove uses of the macros + PRINTF_EXPR, PRINTF_NEXPR, and PRINTF_XEXPR. + * math/test-double.h (FTOSTR): Define to strfromd. + (PRINTF_EXPR): Delete. + (PRINTF_XEXPR): Likewise. + (PRINTF_NEXPR): Likewise. + * math/test-float.h (FTOSTR): Define to strfromf. + (PRINTF_EXPR): Delete. + (PRINTF_XEXPR): Likewise. + (PRINTF_NEXPR): Likewise. + * math/test-ldouble.h (FTOSTR): Define to strfroml. + (PRINTF_EXPR): Delete. + (PRINTF_XEXPR): Likewise. + (PRINTF_NEXPR): Likewise. + 2016-12-20 Stefan Liebler <stli@linux.vnet.ibm.com> * sysdeps/unix/sysv/linux/s390/lowlevellock.h |
