mirror of
https://sourceware.org/git/glibc.git
synced 2026-01-06 11:51:29 +03:00
Update.
2004-03-24 Jakub Jelinek <jakub@redhat.com> * stdlib/strtod_l.c (INTERNAL (__STRTOF)): Clear the rest of retval, not just one limb if RETURN_LIMB_SIZE > 2. Fix shifting up if RETURN_LIMB_SIZE > 2. * stdio-common/printf_fp.c (__printf_fp): For IEEE quad long double on 32-bit architectures reserve 8 limbs instead of 4.
This commit is contained in:
@@ -45,15 +45,15 @@ but it's better to pretty print it first. "gen-libm-test.pl" has an option
|
||||
to generate a pretty-printed and sorted new ULPs file from the output
|
||||
of the test drivers.
|
||||
|
||||
To generate a new "libm-test-ulps" file, you can execute for example:
|
||||
To generate a new "libm-test-ulps" file, first remove "ULPs" file in the
|
||||
current directory, then you can execute for example:
|
||||
test-double -u --ignore-max-ulp=yes
|
||||
This generates a file "ULPs" with all double ULPs in it, ignoring any
|
||||
previous calculated ULPs.
|
||||
Now move this away, e.g. "mv ULPs allULPs" and generate the ULPs
|
||||
for all other formats and concat all ULP files together (e.g. "cat
|
||||
ULPs >> allULPs"). As final step run "gen-libm-test.pl" with the file
|
||||
as input and ask to generate a pretty printed output in the file "NewUlps":
|
||||
gen-libm-test.pl -u allULPs -n
|
||||
Now generate the ULPs for all other formats, the tests will be appending
|
||||
the data to the "ULPs" file. As final step run "gen-libm-test.pl" with the
|
||||
file as input and ask to generate a pretty printed output in the file "NewUlps":
|
||||
gen-libm-test.pl -u ULPs -n
|
||||
|
||||
Now you can rename "NewUlps" to "libm-test-ulps" and move it into
|
||||
sysdeps.
|
||||
|
||||
Reference in New Issue
Block a user