* sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c
commit9542710f1329c25f861435d7b96d08991e52bd6d
authorJakub Jelinek <jakub@redhat.com>
Sat, 7 Jul 2007 16:19:22 +0000 (7 16:19 +0000)
committerJakub Jelinek <jakub@redhat.com>
Sat, 7 Jul 2007 16:19:22 +0000 (7 16:19 +0000)
treee9abc3f812ce91362451cdac5edd8fc843b6a902
parent6f771fd26e6333e892907a61f83bd879861a8f46
* sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c
(__mpn_construct_long_double): Fix conversion where result ought
to be smaller than __LDBL_MIN__, or the low double should be
denormal.  Fix decision where to negate low double - honor round
to even rules.
* stdio-common/tst-sprintf2.c: Include string.h.
(COMPARE_LDBL): Define.
(TEST): Also test whether a string hexadecimal float representation
can be parsed back to the number.
(main): Add a couple of further tests.

* sysdeps/ieee754/ldbl-128ibm/printf_fphex.c
(PRINT_FPHEX_LONG_DOUBLE): Fix printing numbers where lower double
is non-zero, but smaller than 2 * __DBL_MIN__.
* stdio-common/tst-sprintf2.c: New test.
* stdio-common/Makefile (tests): Add tst-sprintf2.
ChangeLog
stdio-common/Makefile
stdio-common/tst-sprintf2.c [new file with mode: 0644]
sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c
sysdeps/ieee754/ldbl-128ibm/printf_fphex.c