diff options
author | Joseph Myers <joseph@codesourcery.com> | 2014-02-19 14:26:29 +0000 |
---|---|---|
committer | Joseph Myers <joseph@codesourcery.com> | 2014-02-19 14:26:29 +0000 |
commit | 63689d6165dc044157da8757bf4dfdee9d83b3e8 (patch) | |
tree | 1322cb737b1593afe66f6fb05e81532674d0495d /math/auto-libm-test-in | |
parent | ab09bf616ad527b249aca5f2a4956fd526f0712f (diff) | |
download | glibc-63689d6165dc044157da8757bf4dfdee9d83b3e8.tar.gz glibc-63689d6165dc044157da8757bf4dfdee9d83b3e8.tar.xz glibc-63689d6165dc044157da8757bf4dfdee9d83b3e8.zip |
Move tests of clog10 from libm-test.inc to auto-libm-test-in.
This patch moves tests of clog10 to auto-libm-test-in. Note that this means gen-auto-libm-tests will now depend on the recent MPC 1.0.2 release which added a fix for a bug that made gen-auto-libm-tests hang for clog10. (It still can't conveniently be used for cacos cacosh casin casinh catan catanh csin csinh because of extreme slowness of those functions for special cases in MPC; at least some slow cases of csin / csinh are fixed in MPC trunk, but not in a release.) Tested x86_64 and x86 and ulps updated accordingly. * math/auto-libm-test-in: Add tests of clog10. * math/auto-libm-test-out: Regenerated. * math/libm-test.inc (clog10_test_data): Use AUTO_TESTS_c_c. * sysdeps/i386/fpu/libm-test-ulps: Update. * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
Diffstat (limited to 'math/auto-libm-test-in')
-rw-r--r-- | math/auto-libm-test-in | 119 |
1 files changed, 119 insertions, 0 deletions
diff --git a/math/auto-libm-test-in b/math/auto-libm-test-in index ab56898c3d..ac5348f037 100644 --- a/math/auto-libm-test-in +++ b/math/auto-libm-test-in @@ -451,6 +451,125 @@ clog 0xfd95243681c055c2632286921092p-113 0x1bccabcd29ca2152860ec29e34ef7p-113 clog 0xdb85c467ee2aadd5f425fe0f4b8dp-114 0x3e83162a0f95f1dcbf97dddf410eap-114 clog 0x1415bcaf2105940d49a636e98ae59p-115 0x7e6a150adfcd1b0921d44b31f40f4p-115 +clog10 0.75 1.25 +clog10 -2 -3 + +clog10 0x1.fffffep+127 0x1.fffffep+127 +clog10 0x1.fffffep+127 1.0 +clog10 0x1p-149 0x1p-149 +clog10 0x1p-147 0x1p-147 +clog10 0x1.fffffffffffffp+1023 0x1.fffffffffffffp+1023 +clog10 0x1.fffffffffffffp+1023 0x1p+1023 +clog10 0x1p-1074 0x1p-1074 +clog10 0x1p-1073 0x1p-1073 +clog10 0x1.fp+16383 0x1.fp+16383 +clog10 0x1.fp+16383 0x1p+16383 +clog10 0x1p-16440 0x1p-16441 + +clog10 0x1p-149 0x1.fp+127 +clog10 -0x1p-149 0x1.fp+127 +clog10 0x1p-149 -0x1.fp+127 +clog10 -0x1p-149 -0x1.fp+127 +clog10 -0x1.fp+127 0x1p-149 +clog10 -0x1.fp+127 -0x1p-149 +clog10 0x1.fp+127 0x1p-149 +clog10 0x1.fp+127 -0x1p-149 +clog10 0x1p-1074 0x1.fp+1023 +clog10 -0x1p-1074 0x1.fp+1023 +clog10 0x1p-1074 -0x1.fp+1023 +clog10 -0x1p-1074 -0x1.fp+1023 +clog10 -0x1.fp+1023 0x1p-1074 +clog10 -0x1.fp+1023 -0x1p-1074 +clog10 0x1.fp+1023 0x1p-1074 +clog10 0x1.fp+1023 -0x1p-1074 +clog10 0x1p-16445 0x1.fp+16383 +clog10 -0x1p-16445 0x1.fp+16383 +clog10 0x1p-16445 -0x1.fp+16383 +clog10 -0x1p-16445 -0x1.fp+16383 +clog10 -0x1.fp+16383 0x1p-16445 +clog10 -0x1.fp+16383 -0x1p-16445 +clog10 0x1.fp+16383 0x1p-16445 +clog10 0x1.fp+16383 -0x1p-16445 +clog10 0x1p-16494 0x1.fp+16383 +clog10 -0x1p-16494 0x1.fp+16383 +clog10 0x1p-16494 -0x1.fp+16383 +clog10 -0x1p-16494 -0x1.fp+16383 +clog10 -0x1.fp+16383 0x1p-16494 +clog10 -0x1.fp+16383 -0x1p-16494 +clog10 0x1.fp+16383 0x1p-16494 +clog10 0x1.fp+16383 -0x1p-16494 + +clog10 1.0 0x1.234566p-10 +clog10 -1.0 0x1.234566p-20 +clog10 0x1.234566p-30 1.0 +clog10 -0x1.234566p-40 -1.0 +clog10 0x1.234566p-50 1.0 +clog10 0x1.234566p-60 1.0 +clog10 0x1p-61 1.0 +clog10 0x1p-62 1.0 +clog10 0x1p-63 1.0 +clog10 0x1p-509 1.0 +clog10 0x1p-510 1.0 +clog10 0x1p-511 1.0 +clog10 0x1p-8189 1.0 +clog10 0x1p-8190 1.0 +clog10 0x1p-8191 1.0 + +clog10 0x1.000566p0 0x1.234p-10 +clog10 0x1.000566p0 0x1.234p-100 +clog10 -0x1.0000000123456p0 0x1.2345678p-30 +clog10 -0x1.0000000123456p0 0x1.2345678p-1000 +clog10 0x1.00000000000000123456789abcp0 0x1.23456789p-60 +clog10 0x1.00000000000000123456789abcp0 0x1.23456789p-1000 + +clog10 0x0.ffffffp0 0x0.ffffffp-100 +clog10 0x0.fffffffffffff8p0 0x0.fffffffffffff8p-1000 +clog10 0x0.ffffffffffffffffp0 0x0.ffffffffffffffffp-15000 + +clog10 0x1a6p-10 0x3a5p-10 +clog10 0xf2p-10 0x3e3p-10 +clog10 0x4d4ep-15 0x6605p-15 +clog10 0x2818p-15 0x798fp-15 +clog10 0x9b57bp-20 0xcb7b4p-20 +clog10 0x2731p-20 0xfffd0p-20 +clog10 0x2ede88p-23 0x771c3fp-23 +clog10 0x11682p-23 0x7ffed1p-23 +clog10 0xa1f2c1p-24 0xc643aep-24 +clog10 0x659feap-24 0xeaf6f9p-24 +clog10 0x4447d7175p-35 0x6c445e00ap-35 +clog10 0x2dd46725bp-35 0x7783a1284p-35 +clog10 0x164c74eea876p-45 0x16f393482f77p-45 +clog10 0xfe961079616p-45 0x1bc37e09e6d1p-45 +clog10 0xa4722f19346cp-51 0x7f9631c5e7f07p-51 +clog10 0x10673dd0f2481p-51 0x7ef1d17cefbd2p-51 +clog10 0x8ecbf810c4ae6p-52 0xd479468b09a37p-52 +clog10 0x5b06b680ea2ccp-52 0xef452b965da9fp-52 +clog10 0x659b70ab7971bp-53 0x1f5d111e08abecp-53 +clog10 0x15cfbd1990d1ffp-53 0x176a3973e09a9ap-53 +clog10 0x1367a310575591p-54 0x3cfcc0a0541f60p-54 +clog10 0x55cb6d0c83af5p-55 0x7fe33c0c7c4e90p-55 +clog10 0x298c62cb546588a7p-63 0x7911b1dfcc4ecdaep-63 +clog10 0x4d9c37e2b5cb4533p-63 0x65c98be2385a042ep-63 +clog10 0x602fd5037c4792efp-64 0xed3e2086dcca80b8p-64 +clog10 0x6b10b4f3520217b6p-64 0xe8893cbb449253a1p-64 +clog10 0x81b7efa81fc35ad1p-65 0x1ef4b835f1c79d812p-65 +clog10 0x3f96469050f650869c2p-75 0x6f16b2c9c8b05988335p-75 +clog10 0x3157fc1d73233e580c8p-75 0x761b52ccd435d7c7f5fp-75 +clog10 0x155f8afc4c48685bf63610p-85 0x17d0cf2652cdbeb1294e19p-85 +clog10 0x13836d58a13448d750b4b9p-85 0x195ca7bc3ab4f9161edbe6p-85 +clog10 0x1df515eb171a808b9e400266p-95 0x7c71eb0cd4688dfe98581c77p-95 +clog10 0xe33f66c9542ca25cc43c867p-95 0x7f35a68ebd3704a43c465864p-95 +clog10 0x6771f22c64ed551b857c128b4cp-105 0x1f570e7a13cc3cf2f44fd793ea1p-105 +clog10 0x15d8ab6ed05ca514086ac3a1e84p-105 0x1761e480aa094c0b10b34b09ce9p-105 +clog10 0x187190c1a334497bdbde5a95f48p-106 0x3b25f08062d0a095c4cfbbc338dp-106 +clog10 0x6241ef0da53f539f02fad67dabp-106 0x3fb46641182f7efd9caa769dac0p-106 +clog10 0x3e1d0a105ac4ebeacd9c6952d34cp-112 0xf859b3d1b06d005dcbb5516d5479p-112 +clog10 0x47017a2e36807acb1e5214b209dep-112 0xf5f4a550c9d75e3bb1839d865f0dp-112 +clog10 0x148f818cb7a9258fca942ade2a0cap-113 0x18854a34780b8333ec53310ad7001p-113 +clog10 0xfd95243681c055c2632286921092p-113 0x1bccabcd29ca2152860ec29e34ef7p-113 +clog10 0xdb85c467ee2aadd5f425fe0f4b8dp-114 0x3e83162a0f95f1dcbf97dddf410eap-114 +clog10 0x1415bcaf2105940d49a636e98ae59p-115 0x7e6a150adfcd1b0921d44b31f40f4p-115 + cos 0 cos -0 cos pi/3 |