| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
| |
* sysdeps/sparc/fpu/libm-test-ulps: Regenerated.
|
|
|
|
| |
* sysdeps/sparc/fpu/libm-test-ulps: Regenerate from scratch.
|
|
|
|
| |
* sysdeps/sparc/fpu/libm-test-ulps: Update.
|
|
|
|
| |
* sysdeps/sparc/fpu/libm-test-ulps: Update.
|
|
|
|
| |
* sysdeps/sparc/fpu/libm-test-ulps: Update.
|
|
|
|
| |
* sysdeps/sparc/fpu/libm-test-ulps: Update.
|
|
|
|
| |
* sysdeps/sparc/fpu/libm-test-ulps: Update.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
As recently discussed
<https://sourceware.org/ml/libc-alpha/2014-02/msg00670.html>, it
doesn't seem particularly useful for libm-test-ulps files to contain
huge amounts of data on ulps for individual tests; just the global
maximum observed ulps for each function, together with the
verification of exceptions, errno and special results such as
infinities and NaNs for each test, suffices to verify that a
function's behavior on the given test inputs is within the expected
accuracy. Removing this data reduces source tree churn caused by
updates to these files when libm tests are added, and reduces the
frequency with which testsuite additions actually need libm-test-ulps
changes at all.
Accordingly, this patch removes that data, so that individual tests
get checked against the global bounds for the given function and only
generate an error if those are exceeded. Tested x86_64 (including
verifying that if an ulps value is artificially reduced, the tests do
indeed fail as they should and "make regen-ulps" generates the
expected changes).
* math/libm-test.inc (struct ulp_data): Don't refer to ulps for
individual tests in comment.
(libm-test-ulps.h): Don't refer to test_ulps in #include comment.
(prev_max_error): New variable.
(prev_real_max_error): Likewise.
(prev_imag_max_error): Likewise.
(compare_ulp_data): Don't refer to test names in comment.
(find_test_ulps): Remove function.
(find_function_ulps): Likewise.
(find_complex_function_ulps): Likewise.
(init_max_error): Take function name as argument. Look up ulps
for that function.
(print_ulps): Remove function.
(print_max_error): Use prev_max_error instead of calling
find_function_ulps.
(print_complex_max_error): Use prev_real_max_error and
prev_imag_max_error instead of calling find_complex_function_ulps.
(check_float_internal): Take max_ulp parameter instead of calling
find_test_ulps. Don't call print_ulps.
(check_float): Update call to check_float_internal.
(check_complex): Update calls to check_float_internal.
(START): Pass argument to init_max_error.
* math/gen-libm-test.pl (%results): Don't include "kind"
information.
(parse_ulps): Don't handle ulps of individual tests.
(print_ulps_file): Likewise.
(output_ulps): Likewise.
* math/README.libm-test: Update.
* manual/libm-err-tab.pl (parse_ulps): Don't handle ulps of
individual tests.
* sysdeps/aarch64/libm-test-ulps: Remove individual test ulps.
* sysdeps/alpha/fpu/libm-test-ulps: Likewise.
* sysdeps/arm/libm-test-ulps: Likewise.
* sysdeps/i386/fpu/libm-test-ulps: Likewise.
* sysdeps/ia64/fpu/libm-test-ulps: Likewise.
* sysdeps/m68k/coldfire/fpu/libm-test-ulps: Likewise.
* sysdeps/m68k/m680x0/fpu/libm-test-ulps: Likewise.
* sysdeps/microblaze/libm-test-ulps: Likewise.
* sysdeps/mips/mips32/libm-test-ulps: Likewise.
* sysdeps/mips/mips64/libm-test-ulps: Likewise.
* sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
* sysdeps/powerpc/nofpu/libm-test-ulps: Likewise.
* sysdeps/s390/fpu/libm-test-ulps: Likewise.
* sysdeps/sh/libm-test-ulps: Likewise.
* sysdeps/sparc/fpu/libm-test-ulps: Likewise.
* sysdeps/tile/libm-test-ulps: Likewise.
* sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
* sysdeps/hppa/fpu/libm-test-ulps: Remove individual test ulps.
|
|
|
|
|
| |
* sysdeps/sparc/fpu/libm-test-ulps: Update for some 64-bit differences from
32-bit.
|
|
|
|
| |
* sysdeps/sparc/fpu/libm-test-ulps: Regenerate.
|
|
|
|
| |
* sysdeps/sparc/fpu/libm-test-ulps: Update.
|
|
|
|
|
| |
* sysdeps/sparc/fpu/libm-test-ulps: Update ULPs to handle minor
difference between 32-bit and 64-bit.
|
|
|
|
| |
* sysdeps/sparc/fpu/libm-test-ulps: Regenerate from scratch.
|
|
|
|
| |
* sysdeps/sparc/fpu/libm-test-ulps: Update.
|
| |
|
| |
|
|
|
|
| |
* sysdeps/sparc/fpu/libm-test-ulps: Update.
|
|
|
|
| |
* sysdeps/sparc/fpu/libm-test-ulps: Update.
|
|
|
|
| |
* sysdeps/sparc/fpu/libm-test-ulps: Update.
|
|
|
|
| |
* sysdeps/sparc/fpu/libm-test-ulps: Update.
|
| |
|
|
|
|
| |
* sysdeps/sparc/fpu/libm-test-ulps: Update.
|
|
|
|
| |
* sysdeps/sparc/fpu/libm-test-ulps: Update.
|
|
|
|
| |
* sysdeps/sparc/fpu/libm-test-ulps: Update.
|
|
|
|
| |
* sysdeps/sparc/fpu/libm-test-ulps: Update.
|
|
|
|
| |
* sysdeps/sparc/fpu/libm-test-ulps: Update.
|
|
|
|
|
|
|
|
|
|
| |
With help from Joseph Myers.
* sysdeps/ieee754/ldbl-128/s_atanl.c (__atanl): Handle tiny and
very large arguments properly.
* math/libm-test.inc (atan_test): New tests.
(atan2_test): New tests.
* sysdeps/sparc/fpu/libm-test-ulps: Update.
* sysdeps/x86_64/fpu/libm-test-ulps: Update.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
With help from Joseph Myers.
* sysdeps/ieee754/flt-32/e_j0f.c (__ieee754_y0f): Adjust tinyness
cutoff to 2**-13.
* sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Adjust tinyness
cutoff to 2**-25.
* sysdeps/ieee754/ldbl-128/e_j0l.c (U0): New constant.
( __ieee754_y0l): Avoid arithmetic underflow when 'x' is very
small.
* sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l): Likewise.
* math/libm-test.inc (y0_test): New tests.
(y1_test): New tests.
* sysdeps/i386/fpu/libm-test-ulps: Update.
* sysdeps/x86_64/fpu/libm-test-ulps: Update.
* sysdeps/sparc/fpu/libm-test-ulps: Update.
|
|
|
|
| |
* sysdeps/sparc/fpu/libm-test-ulps: Fix garbage in file.
|
|
|
|
|
|
|
|
| |
clog/clog10."
This reverts commit 084b8fabd28ab541efbe5ce7ef6008107a4b86ea.
Sorry something put garbage into the string, will debug this.
|
|
|
|
| |
* sysdeps/sparc/fpu/libm-test-ulps: Update.
|
|
|
|
| |
* sysdeps/sparc/fpu/libm-test-ulps: Update.
|
|
|
|
| |
* sysdeps/sparc/fpu/libm-test-ulps: Update.
|
|
|
|
| |
* sysdeps/sparc/fpu/libm-test-ulps: Update.
|
| |
|
|
|
|
| |
* sysdeps/sparc/fpu/libm-test-ulps: Update.
|
|
|
|
| |
* sysdeps/sparc/fpu/libm-test-ulps: Update.
|
|
|
|
|
| |
* sysdeps/sparc/fpu/libm-test-ulps: Remove sqrt(2) and sqrt test
entries.
|
| |
|
| |
|
|
|
|
| |
* sysdeps/sparc/fpu/libm-test-ulps: Update.
|
|
|
|
| |
* sysdeps/sparc/fpu/libm-test-ulps: Update.
|
|
|
|
| |
* sysdeps/sparc/fpu/libm-test-ulps: Update.
|
|
|
|
| |
* sysdeps/sparc/fpu/libm-test-ulps: Update.
|
|
|
|
| |
* sysdeps/sparc/fpu/libm-test-ulps: Update.
|
|
|
|
| |
* sysdeps/sparc/fpu/libm-test-ulps: Update.
|
|
|
|
| |
* sysdeps/sparc/fpu/libm-test-ulps: Update.
|
|
|
|
| |
* sysdeps/sparc/fpu/libm-test/ulps: Update.
|
|
|
|
| |
* sysdeps/sparc/fpu/libm-test-ulps: Update.
|
|
|
|
| |
* sysdeps/sparc/fpu/libm-test-ulps: Update.
|