CVS commit: src/tests/lib/libm

2024-05-14 Thread Taylor R Campbell
Module Name:src Committed By: riastradh Date: Tue May 14 15:31:42 UTC 2024 Modified Files: src/tests/lib/libm: t_ilogb.c Log Message: t_ilogb: Nix spurious line break in ATF_CHECK_MSG. To generate a diff of this commit: cvs rdiff -u -r1.10 -r1.11

CVS commit: src/tests/lib/libm

2024-05-14 Thread Taylor R Campbell
Module Name:src Committed By: riastradh Date: Tue May 14 15:31:42 UTC 2024 Modified Files: src/tests/lib/libm: t_ilogb.c Log Message: t_ilogb: Nix spurious line break in ATF_CHECK_MSG. To generate a diff of this commit: cvs rdiff -u -r1.10 -r1.11

CVS commit: src/tests/lib/libm

2024-05-13 Thread Roland Illig
Module Name:src Committed By: rillig Date: Mon May 13 20:28:15 UTC 2024 Modified Files: src/tests/lib/libm: t_hypot.c Log Message: tests/t_hypot: actually add nan test To generate a diff of this commit: cvs rdiff -u -r1.7 -r1.8 src/tests/lib/libm/t_hypot.c Please note

CVS commit: src/tests/lib/libm

2024-05-13 Thread Roland Illig
Module Name:src Committed By: rillig Date: Mon May 13 20:28:15 UTC 2024 Modified Files: src/tests/lib/libm: t_hypot.c Log Message: tests/t_hypot: actually add nan test To generate a diff of this commit: cvs rdiff -u -r1.7 -r1.8 src/tests/lib/libm/t_hypot.c Please note

CVS commit: src/tests/lib/libm

2024-05-12 Thread Taylor R Campbell
Module Name:src Committed By: riastradh Date: Sun May 12 21:53:26 UTC 2024 Modified Files: src/tests/lib/libm: t_fenv.c Log Message: tests/lib/libm/t_fenv: Work around PR 58253. To generate a diff of this commit: cvs rdiff -u -r1.16 -r1.17 src/tests/lib/libm/t_fenv.c

CVS commit: src/tests/lib/libm

2024-05-12 Thread Taylor R Campbell
Module Name:src Committed By: riastradh Date: Sun May 12 21:53:26 UTC 2024 Modified Files: src/tests/lib/libm: t_fenv.c Log Message: tests/lib/libm/t_fenv: Work around PR 58253. To generate a diff of this commit: cvs rdiff -u -r1.16 -r1.17 src/tests/lib/libm/t_fenv.c

CVS commit: src/tests/lib/libm

2024-05-12 Thread Taylor R Campbell
Module Name:src Committed By: riastradh Date: Sun May 12 20:58:44 UTC 2024 Modified Files: src/tests/lib/libm: t_hypot.c Log Message: t_hypot: Use an ld80 test case that actually fits in ld80. Also add comments explaining how I generated these test cases. (No autoconf

CVS commit: src/tests/lib/libm

2024-05-12 Thread Taylor R Campbell
Module Name:src Committed By: riastradh Date: Sun May 12 20:58:44 UTC 2024 Modified Files: src/tests/lib/libm: t_hypot.c Log Message: t_hypot: Use an ld80 test case that actually fits in ld80. Also add comments explaining how I generated these test cases. (No autoconf

CVS commit: src/tests/lib/libm

2024-05-12 Thread Taylor R Campbell
Module Name:src Committed By: riastradh Date: Sun May 12 20:17:57 UTC 2024 Modified Files: src/tests/lib/libm: t_next.c Log Message: tests/lib/libm/t_next: Disable a test if long double is double. This test, to verify nexttoward(x, x*(1 - LDBL_EPSILON/2)) moves in the

CVS commit: src/tests/lib/libm

2024-05-12 Thread Taylor R Campbell
Module Name:src Committed By: riastradh Date: Sun May 12 20:17:57 UTC 2024 Modified Files: src/tests/lib/libm: t_next.c Log Message: tests/lib/libm/t_next: Disable a test if long double is double. This test, to verify nexttoward(x, x*(1 - LDBL_EPSILON/2)) moves in the

CVS commit: src/tests/lib/libm

2024-05-11 Thread Taylor R Campbell
Module Name:src Committed By: riastradh Date: Sat May 11 21:27:53 UTC 2024 Modified Files: src/tests/lib/libm: t_asin.c Log Message: tests/lib/libm/t_asin: Cite PR lib/58246. To generate a diff of this commit: cvs rdiff -u -r1.4 -r1.5 src/tests/lib/libm/t_asin.c Please

CVS commit: src/tests/lib/libm

2024-05-11 Thread Taylor R Campbell
Module Name:src Committed By: riastradh Date: Sat May 11 21:27:53 UTC 2024 Modified Files: src/tests/lib/libm: t_asin.c Log Message: tests/lib/libm/t_asin: Cite PR lib/58246. To generate a diff of this commit: cvs rdiff -u -r1.4 -r1.5 src/tests/lib/libm/t_asin.c Please

CVS commit: src/tests/lib/libm

2024-05-11 Thread Taylor R Campbell
Module Name:src Committed By: riastradh Date: Sat May 11 20:51:41 UTC 2024 Modified Files: src/tests/lib/libm: t_hypot.c Log Message: tests/lib/libm/t_hypot: Check inf/nan cases too. To generate a diff of this commit: cvs rdiff -u -r1.5 -r1.6

CVS commit: src/tests/lib/libm

2024-05-11 Thread Taylor R Campbell
Module Name:src Committed By: riastradh Date: Sat May 11 20:51:41 UTC 2024 Modified Files: src/tests/lib/libm: t_hypot.c Log Message: tests/lib/libm/t_hypot: Check inf/nan cases too. To generate a diff of this commit: cvs rdiff -u -r1.5 -r1.6

CVS commit: src/tests/lib/libm

2024-05-11 Thread Taylor R Campbell
Module Name:src Committed By: riastradh Date: Sat May 11 20:09:13 UTC 2024 Modified Files: src/tests/lib/libm: t_hypot.c Log Message: tests/lib/libm/t_hypot: More trivial tests. Check both signs of zero. To generate a diff of this commit: cvs rdiff -u -r1.3 -r1.4

CVS commit: src/tests/lib/libm

2024-05-11 Thread Taylor R Campbell
Module Name:src Committed By: riastradh Date: Sat May 11 20:09:13 UTC 2024 Modified Files: src/tests/lib/libm: t_hypot.c Log Message: tests/lib/libm/t_hypot: More trivial tests. Check both signs of zero. To generate a diff of this commit: cvs rdiff -u -r1.3 -r1.4

CVS commit: src/tests/lib/libm

2024-05-11 Thread Taylor R Campbell
Module Name:src Committed By: riastradh Date: Sat May 11 19:08:30 UTC 2024 Modified Files: src/tests/lib/libm: t_hypot.c Log Message: tests/lib/libm/t_hypot: Expand substantially. PR lib/58245: hypotl is broken on ld128 ports To generate a diff of this commit: cvs

CVS commit: src/tests/lib/libm

2024-05-11 Thread Taylor R Campbell
Module Name:src Committed By: riastradh Date: Sat May 11 19:08:30 UTC 2024 Modified Files: src/tests/lib/libm: t_hypot.c Log Message: tests/lib/libm/t_hypot: Expand substantially. PR lib/58245: hypotl is broken on ld128 ports To generate a diff of this commit: cvs

CVS commit: src/tests/lib/libm

2024-05-10 Thread Taylor R Campbell
Module Name:src Committed By: riastradh Date: Sat May 11 01:44:12 UTC 2024 Modified Files: src/tests/lib/libm: t_next.c Log Message: tests/lib/libm/t_next: nexttoward works if it's just nextafter. It's broken on platforms where long double and double aren't the same and

CVS commit: src/tests/lib/libm

2024-05-10 Thread Taylor R Campbell
Module Name:src Committed By: riastradh Date: Sat May 11 01:44:12 UTC 2024 Modified Files: src/tests/lib/libm: t_next.c Log Message: tests/lib/libm/t_next: nexttoward works if it's just nextafter. It's broken on platforms where long double and double aren't the same and

CVS commit: src/tests/lib/libm

2024-05-09 Thread Taylor R Campbell
Module Name:src Committed By: riastradh Date: Thu May 9 14:00:59 UTC 2024 Modified Files: src/tests/lib/libm: t_infinity.c Log Message: tests/lib/libm/t_infinity: Remove broken long double conditional. LDBL_MAX is always defined, so this branch is dead. (If LDBL_MAX is

CVS commit: src/tests/lib/libm

2024-05-09 Thread Taylor R Campbell
Module Name:src Committed By: riastradh Date: Thu May 9 14:00:59 UTC 2024 Modified Files: src/tests/lib/libm: t_infinity.c Log Message: tests/lib/libm/t_infinity: Remove broken long double conditional. LDBL_MAX is always defined, so this branch is dead. (If LDBL_MAX is

CVS commit: src/tests/lib/libm

2024-05-09 Thread Taylor R Campbell
Module Name:src Committed By: riastradh Date: Thu May 9 12:23:21 UTC 2024 Modified Files: src/tests/lib/libm: t_ilogb.c Log Message: tests/lib/libm/t_ilogb: Expand and tidy. 1. Instead of calling out VAX by name, use #ifdef NAN and isinf(INFINITY). (VAX defines

CVS commit: src/tests/lib/libm

2024-05-09 Thread Taylor R Campbell
Module Name:src Committed By: riastradh Date: Thu May 9 12:23:21 UTC 2024 Modified Files: src/tests/lib/libm: t_ilogb.c Log Message: tests/lib/libm/t_ilogb: Expand and tidy. 1. Instead of calling out VAX by name, use #ifdef NAN and isinf(INFINITY). (VAX defines

CVS commit: src/tests/lib/libm

2024-05-09 Thread Taylor R Campbell
Module Name:src Committed By: riastradh Date: Thu May 9 12:18:28 UTC 2024 Modified Files: src/tests/lib/libm: t_fe_round.c Log Message: tests/lib/libm/t_fe_round.c: Tidy. nextafter/nexttoward tests didn't make much sense, and are now supplanted by t_next. PR misc/58054

CVS commit: src/tests/lib/libm

2024-05-09 Thread Taylor R Campbell
Module Name:src Committed By: riastradh Date: Thu May 9 12:18:28 UTC 2024 Modified Files: src/tests/lib/libm: t_fe_round.c Log Message: tests/lib/libm/t_fe_round.c: Tidy. nextafter/nexttoward tests didn't make much sense, and are now supplanted by t_next. PR misc/58054

CVS commit: src/tests/lib/libm

2024-05-08 Thread Taylor R Campbell
Module Name:src Committed By: riastradh Date: Wed May 8 22:59:07 UTC 2024 Modified Files: src/tests/lib/libm: t_fe_round.c Log Message: tests/lib/libm/t_fe_round: xfail for modfl uses. PR lib/58237: modfl returns wrong answers on ld128 architectures To generate a diff

CVS commit: src/tests/lib/libm

2024-05-08 Thread Taylor R Campbell
Module Name:src Committed By: riastradh Date: Wed May 8 22:59:07 UTC 2024 Modified Files: src/tests/lib/libm: t_fe_round.c Log Message: tests/lib/libm/t_fe_round: xfail for modfl uses. PR lib/58237: modfl returns wrong answers on ld128 architectures To generate a diff

CVS commit: src/tests/lib/libm

2024-05-08 Thread Taylor R Campbell
Module Name:src Committed By: riastradh Date: Wed May 8 22:57:38 UTC 2024 Modified Files: src/tests/lib/libm: t_modf.c Log Message: tests/lib/libm/t_modf: Mark modfl xfail on ld128. PR lib/58237: modfl returns wrong answers on ld128 architectures To generate a diff of

CVS commit: src/tests/lib/libm

2024-05-08 Thread Taylor R Campbell
Module Name:src Committed By: riastradh Date: Wed May 8 22:57:38 UTC 2024 Modified Files: src/tests/lib/libm: t_modf.c Log Message: tests/lib/libm/t_modf: Mark modfl xfail on ld128. PR lib/58237: modfl returns wrong answers on ld128 architectures To generate a diff of

CVS commit: src/tests/lib/libm

2024-05-08 Thread Taylor R Campbell
Module Name:src Committed By: riastradh Date: Wed May 8 17:27:04 UTC 2024 Modified Files: src/tests/lib/libm: t_next.c Log Message: tests/lib/libm/t_next: Expand substantially. This covers many more potential problem areas -- and includes a new xfail test for PR

CVS commit: src/tests/lib/libm

2024-05-08 Thread Taylor R Campbell
Module Name:src Committed By: riastradh Date: Wed May 8 17:27:04 UTC 2024 Modified Files: src/tests/lib/libm: t_next.c Log Message: tests/lib/libm/t_next: Expand substantially. This covers many more potential problem areas -- and includes a new xfail test for PR

CVS commit: src/tests/lib/libm

2024-05-06 Thread Taylor R Campbell
Module Name:src Committed By: riastradh Date: Mon May 6 18:41:23 UTC 2024 Modified Files: src/tests/lib/libm: t_bit.c Log Message: tests/lib/libm/t_bit: Expand and tidy. 1. Instead of calling out VAX by name, use #ifdef NAN. 2. Verify signbit works on long double on

CVS commit: src/tests/lib/libm

2024-05-06 Thread Taylor R Campbell
Module Name:src Committed By: riastradh Date: Mon May 6 18:41:23 UTC 2024 Modified Files: src/tests/lib/libm: t_bit.c Log Message: tests/lib/libm/t_bit: Expand and tidy. 1. Instead of calling out VAX by name, use #ifdef NAN. 2. Verify signbit works on long double on

CVS commit: src/tests/lib/libm

2024-05-06 Thread Taylor R Campbell
Module Name:src Committed By: riastradh Date: Mon May 6 18:35:59 UTC 2024 Modified Files: src/tests/lib/libm: t_modf.c Log Message: tests/lib/libm/t_modf: Use isinf(INFINITY) to detect inf support. Apparently VAX defines the INFINITY macro even though it's not actually

CVS commit: src/tests/lib/libm

2024-05-06 Thread Taylor R Campbell
Module Name:src Committed By: riastradh Date: Mon May 6 18:35:59 UTC 2024 Modified Files: src/tests/lib/libm: t_modf.c Log Message: tests/lib/libm/t_modf: Use isinf(INFINITY) to detect inf support. Apparently VAX defines the INFINITY macro even though it's not actually

CVS commit: src/tests/lib/libm

2024-05-06 Thread Taylor R Campbell
Module Name:src Committed By: riastradh Date: Mon May 6 15:53:46 UTC 2024 Modified Files: src/tests/lib/libm: t_sincos.c Log Message: tests/lib/libm/t_sincos: Nix __HAVE_LONG_DOUBLE conditionals. sincosl is supposed to be there even if long double is double, as is the

CVS commit: src/tests/lib/libm

2024-05-06 Thread Taylor R Campbell
Module Name:src Committed By: riastradh Date: Mon May 6 15:53:46 UTC 2024 Modified Files: src/tests/lib/libm: t_sincos.c Log Message: tests/lib/libm/t_sincos: Nix __HAVE_LONG_DOUBLE conditionals. sincosl is supposed to be there even if long double is double, as is the

CVS commit: src/tests/lib/libm

2024-05-06 Thread Taylor R Campbell
Module Name:src Committed By: riastradh Date: Mon May 6 15:49:31 UTC 2024 Modified Files: src/tests/lib/libm: t_scalbn.c Log Message: tests/lib/libm/t_scalbn: Nix __HAVE_LONG_DOUBLE conditionals. If long double is the same as double, i.e., __HAVE_LONG_DOUBLE is

CVS commit: src/tests/lib/libm

2024-05-06 Thread Taylor R Campbell
Module Name:src Committed By: riastradh Date: Mon May 6 15:49:31 UTC 2024 Modified Files: src/tests/lib/libm: t_scalbn.c Log Message: tests/lib/libm/t_scalbn: Nix __HAVE_LONG_DOUBLE conditionals. If long double is the same as double, i.e., __HAVE_LONG_DOUBLE is

CVS commit: src/tests/lib/libm

2024-05-06 Thread Taylor R Campbell
Module Name:src Committed By: riastradh Date: Mon May 6 15:46:31 UTC 2024 Modified Files: src/tests/lib/libm: t_precision.c Log Message: tests/lib/libm/t_precision: Nix __HAVE_LONG_DOUBLE conditionals. long double and LDBL_EPSILON work even on architectures where long

CVS commit: src/tests/lib/libm

2024-05-06 Thread Taylor R Campbell
Module Name:src Committed By: riastradh Date: Mon May 6 15:46:31 UTC 2024 Modified Files: src/tests/lib/libm: t_precision.c Log Message: tests/lib/libm/t_precision: Nix __HAVE_LONG_DOUBLE conditionals. long double and LDBL_EPSILON work even on architectures where long

CVS commit: src/tests/lib/libm

2024-05-06 Thread Taylor R Campbell
Module Name:src Committed By: riastradh Date: Mon May 6 15:45:20 UTC 2024 Modified Files: src/tests/lib/libm: t_cos.c Log Message: tests/lib/libm/t_cos: Fix comment about necessity of volatile. To generate a diff of this commit: cvs rdiff -u -r1.10 -r1.11

CVS commit: src/tests/lib/libm

2024-05-06 Thread Taylor R Campbell
Module Name:src Committed By: riastradh Date: Mon May 6 15:45:20 UTC 2024 Modified Files: src/tests/lib/libm: t_cos.c Log Message: tests/lib/libm/t_cos: Fix comment about necessity of volatile. To generate a diff of this commit: cvs rdiff -u -r1.10 -r1.11

CVS commit: src/tests/lib/libm

2024-05-06 Thread Taylor R Campbell
Module Name:src Committed By: riastradh Date: Mon May 6 15:44:08 UTC 2024 Modified Files: src/tests/lib/libm: t_cos.c Log Message: tests/lib/libm/t_cos: Nix __HAVE_LONG_DOUBLE. cosl should always be defined even on architectures where long double is the same as double

CVS commit: src/tests/lib/libm

2024-05-06 Thread Taylor R Campbell
Module Name:src Committed By: riastradh Date: Mon May 6 15:44:08 UTC 2024 Modified Files: src/tests/lib/libm: t_cos.c Log Message: tests/lib/libm/t_cos: Nix __HAVE_LONG_DOUBLE. cosl should always be defined even on architectures where long double is the same as double

CVS commit: src/tests/lib/libm

2024-05-06 Thread Taylor R Campbell
Module Name:src Committed By: riastradh Date: Mon May 6 15:40:55 UTC 2024 Modified Files: src/tests/lib/libm: t_cabsl.cxx Log Message: tests/lib/libm/t_cabsl: Nix __HAVE_LONG_DOUBLE conditionals. __HAVE_LONG_DOUBLE just means long double is different from double. This

CVS commit: src/tests/lib/libm

2024-05-06 Thread Taylor R Campbell
Module Name:src Committed By: riastradh Date: Mon May 6 15:40:55 UTC 2024 Modified Files: src/tests/lib/libm: t_cabsl.cxx Log Message: tests/lib/libm/t_cabsl: Nix __HAVE_LONG_DOUBLE conditionals. __HAVE_LONG_DOUBLE just means long double is different from double. This

CVS commit: src/tests/lib/libm

2024-05-05 Thread Taylor R Campbell
Module Name:src Committed By: riastradh Date: Mon May 6 02:21:39 UTC 2024 Modified Files: src/tests/lib/libm: t_modf.c Log Message: tests/lib/libm/t_modf: Check sign of modf on infinities too. Normally I don't like CHECK(A && B) and favour CHECK(A); CHECK(B) instead, so

CVS commit: src/tests/lib/libm

2024-05-05 Thread Taylor R Campbell
Module Name:src Committed By: riastradh Date: Mon May 6 02:21:39 UTC 2024 Modified Files: src/tests/lib/libm: t_modf.c Log Message: tests/lib/libm/t_modf: Check sign of modf on infinities too. Normally I don't like CHECK(A && B) and favour CHECK(A); CHECK(B) instead, so

CVS commit: src/tests/lib/libm

2024-05-05 Thread Taylor R Campbell
Module Name:src Committed By: riastradh Date: Mon May 6 00:54:02 UTC 2024 Modified Files: src/tests/lib/libm: t_modf.c Log Message: tests/lib/libm/t_modf.c: Expand modf/modff/modfl tests. 1. Exercise more edge cases around the largest exponent that can represent

CVS commit: src/tests/lib/libm

2024-05-05 Thread Taylor R Campbell
Module Name:src Committed By: riastradh Date: Mon May 6 00:54:02 UTC 2024 Modified Files: src/tests/lib/libm: t_modf.c Log Message: tests/lib/libm/t_modf.c: Expand modf/modff/modfl tests. 1. Exercise more edge cases around the largest exponent that can represent

CVS commit: src/tests/lib/libm

2024-05-05 Thread Taylor R Campbell
Module Name:src Committed By: riastradh Date: Sun May 5 14:34:58 UTC 2024 Modified Files: src/tests/lib/libm: t_next.c Log Message: tests/lib/libm/t_next: Fix stub on VAX. Tested building the wrong tree, oops. To generate a diff of this commit: cvs rdiff -u -r1.2

CVS commit: src/tests/lib/libm

2024-05-05 Thread Taylor R Campbell
Module Name:src Committed By: riastradh Date: Sun May 5 14:34:58 UTC 2024 Modified Files: src/tests/lib/libm: t_next.c Log Message: tests/lib/libm/t_next: Fix stub on VAX. Tested building the wrong tree, oops. To generate a diff of this commit: cvs rdiff -u -r1.2

CVS commit: src/tests/lib/libm

2024-05-05 Thread Taylor R Campbell
Module Name:src Committed By: riastradh Date: Sun May 5 14:29:38 UTC 2024 Modified Files: src/tests/lib/libm: t_next.c Log Message: tests/lib/libm/t_next: Disable this test on VAX. But leave a replacement xfail test that fails unconditionally, to leave a reminder in the

CVS commit: src/tests/lib/libm

2024-05-05 Thread Taylor R Campbell
Module Name:src Committed By: riastradh Date: Sun May 5 14:29:38 UTC 2024 Modified Files: src/tests/lib/libm: t_next.c Log Message: tests/lib/libm/t_next: Disable this test on VAX. But leave a replacement xfail test that fails unconditionally, to leave a reminder in the

CVS commit: src/tests/lib/libm

2024-05-03 Thread Taylor R Campbell
Module Name:src Committed By: riastradh Date: Fri May 3 21:40:52 UTC 2024 Modified Files: src/tests/lib/libm: t_fe_round.c Log Message: tests/lib/libm/t_fe_round.c: Expand nearbyint/rint tests. PR lib/58054 To generate a diff of this commit: cvs rdiff -u -r1.15 -r1.16

CVS commit: src/tests/lib/libm

2024-05-03 Thread Taylor R Campbell
Module Name:src Committed By: riastradh Date: Fri May 3 21:40:52 UTC 2024 Modified Files: src/tests/lib/libm: t_fe_round.c Log Message: tests/lib/libm/t_fe_round.c: Expand nearbyint/rint tests. PR lib/58054 To generate a diff of this commit: cvs rdiff -u -r1.15 -r1.16

Re: CVS commit: src/tests/lib/libm

2024-05-02 Thread Taylor R Campbell
> Date: Thu, 2 May 2024 21:04:38 +0200 > From: Roland Illig > > Am 02.05.2024 um 05:30 schrieb Robert Elz: > > Use intmax_t instead of long int when trying to represent very large > > integers (10^50 or so), so we don't exceed the capacity of systems where > > long int is only 32 bits. > > I

Re: CVS commit: src/tests/lib/libm

2024-05-02 Thread Roland Illig
Am 02.05.2024 um 05:30 schrieb Robert Elz: > Module Name: src > Committed By: kre > Date: Thu May 2 03:30:07 UTC 2024 > > Modified Files: > src/tests/lib/libm: t_fe_round.c > > Log Message: > Use intmax_t instead of long int when trying to represent very large > integers (10^50 or

CVS commit: src/tests/lib/libm

2024-05-02 Thread Taylor R Campbell
Module Name:src Committed By: riastradh Date: Thu May 2 16:52:08 UTC 2024 Modified Files: src/tests/lib/libm: t_fe_round.c Log Message: tests/lib/libm/t_fe_round: Fix a missed cast. Need long long or intmax_t, not long, on LP32. PR lib/58054 To generate a diff of

CVS commit: src/tests/lib/libm

2024-05-02 Thread Taylor R Campbell
Module Name:src Committed By: riastradh Date: Thu May 2 16:52:08 UTC 2024 Modified Files: src/tests/lib/libm: t_fe_round.c Log Message: tests/lib/libm/t_fe_round: Fix a missed cast. Need long long or intmax_t, not long, on LP32. PR lib/58054 To generate a diff of

CVS commit: src/tests/lib/libm

2024-05-02 Thread Taylor R Campbell
Module Name:src Committed By: riastradh Date: Thu May 2 16:51:55 UTC 2024 Modified Files: src/tests/lib/libm: t_fe_round.c Log Message: tests/lib/libm/t_fe_round: Tidy up nearbyintl, sync nearbyint test. PR lib/58054 To generate a diff of this commit: cvs rdiff -u

CVS commit: src/tests/lib/libm

2024-05-02 Thread Taylor R Campbell
Module Name:src Committed By: riastradh Date: Thu May 2 16:51:55 UTC 2024 Modified Files: src/tests/lib/libm: t_fe_round.c Log Message: tests/lib/libm/t_fe_round: Tidy up nearbyintl, sync nearbyint test. PR lib/58054 To generate a diff of this commit: cvs rdiff -u

CVS commit: src/tests/lib/libm

2024-05-02 Thread Taylor R Campbell
Module Name:src Committed By: riastradh Date: Thu May 2 11:55:49 UTC 2024 Modified Files: src/tests/lib/libm: t_fe_round.c Log Message: tests/lib/libm/t_fe_round.c: Simplify previous. There is never any need to write casts to type T in integer constant initializers for

CVS commit: src/tests/lib/libm

2024-05-02 Thread Taylor R Campbell
Module Name:src Committed By: riastradh Date: Thu May 2 11:55:49 UTC 2024 Modified Files: src/tests/lib/libm: t_fe_round.c Log Message: tests/lib/libm/t_fe_round.c: Simplify previous. There is never any need to write casts to type T in integer constant initializers for

Re: CVS commit: src/tests/lib/libm

2024-05-01 Thread Robert Elz
And yes, I know, it should have been 2^50 not 10^50... kre

CVS commit: src/tests/lib/libm

2024-05-01 Thread Robert Elz
Module Name:src Committed By: kre Date: Thu May 2 03:30:07 UTC 2024 Modified Files: src/tests/lib/libm: t_fe_round.c Log Message: Use intmax_t instead of long int when trying to represent very large integers (10^50 or so), so we don't exceed the capacity of systems where

CVS commit: src/tests/lib/libm

2024-05-01 Thread Robert Elz
Module Name:src Committed By: kre Date: Thu May 2 03:30:07 UTC 2024 Modified Files: src/tests/lib/libm: t_fe_round.c Log Message: Use intmax_t instead of long int when trying to represent very large integers (10^50 or so), so we don't exceed the capacity of systems where

CVS commit: src/tests/lib/libm

2024-05-01 Thread Taylor R Campbell
Module Name:src Committed By: riastradh Date: Thu May 2 00:01:48 UTC 2024 Modified Files: src/tests/lib/libm: t_fe_round.c Log Message: tests/lib/libm/t_fe_round: Test nearbyintl. This uses inputs that can't be distinguished with only 53 bits of precision, so it should

CVS commit: src/tests/lib/libm

2024-05-01 Thread Taylor R Campbell
Module Name:src Committed By: riastradh Date: Thu May 2 00:01:48 UTC 2024 Modified Files: src/tests/lib/libm: t_fe_round.c Log Message: tests/lib/libm/t_fe_round: Test nearbyintl. This uses inputs that can't be distinguished with only 53 bits of precision, so it should

CVS commit: src/tests/lib/libm

2024-05-01 Thread Taylor R Campbell
Module Name:src Committed By: riastradh Date: Thu May 2 00:00:47 UTC 2024 Modified Files: src/tests/lib/libm: t_fe_round.c Log Message: tests/lib/libm/t_fe_round: Tidy up nearbyint test. Prompted by PR lib/58054. To generate a diff of this commit: cvs rdiff -u -r1.9

CVS commit: src/tests/lib/libm

2024-05-01 Thread Taylor R Campbell
Module Name:src Committed By: riastradh Date: Thu May 2 00:00:47 UTC 2024 Modified Files: src/tests/lib/libm: t_fe_round.c Log Message: tests/lib/libm/t_fe_round: Tidy up nearbyint test. Prompted by PR lib/58054. To generate a diff of this commit: cvs rdiff -u -r1.9

CVS commit: src/tests/lib/libm

2024-04-02 Thread Christos Zoulas
Module Name:src Committed By: christos Date: Wed Apr 3 01:52:28 UTC 2024 Modified Files: src/tests/lib/libm: t_cbrt.c Log Message: fix the cbrtl/powl test To generate a diff of this commit: cvs rdiff -u -r1.5 -r1.6 src/tests/lib/libm/t_cbrt.c Please note that diffs

CVS commit: src/tests/lib/libm

2024-04-02 Thread Christos Zoulas
Module Name:src Committed By: christos Date: Wed Apr 3 01:52:28 UTC 2024 Modified Files: src/tests/lib/libm: t_cbrt.c Log Message: fix the cbrtl/powl test To generate a diff of this commit: cvs rdiff -u -r1.5 -r1.6 src/tests/lib/libm/t_cbrt.c Please note that diffs

CVS commit: src/tests/lib/libm

2024-03-18 Thread Martin Husemann
Module Name:src Committed By: martin Date: Mon Mar 18 16:33:54 UTC 2024 Modified Files: src/tests/lib/libm: t_fenv.c Log Message: The fetestexcept_trap test case only makes sense on FPUs that implement exceptions. To generate a diff of this commit: cvs rdiff -u -r1.15

CVS commit: src/tests/lib/libm

2024-03-18 Thread Martin Husemann
Module Name:src Committed By: martin Date: Mon Mar 18 16:33:54 UTC 2024 Modified Files: src/tests/lib/libm: t_fenv.c Log Message: The fetestexcept_trap test case only makes sense on FPUs that implement exceptions. To generate a diff of this commit: cvs rdiff -u -r1.15

CVS commit: src/tests/lib/libm

2024-02-19 Thread Taylor R Campbell
Module Name:src Committed By: riastradh Date: Mon Feb 19 23:19:11 UTC 2024 Modified Files: src/tests/lib/libm: t_fenv.c Log Message: fenv(3): Add test for PR port-amd64/57949. To generate a diff of this commit: cvs rdiff -u -r1.13 -r1.14 src/tests/lib/libm/t_fenv.c

CVS commit: src/tests/lib/libm

2024-02-19 Thread Taylor R Campbell
Module Name:src Committed By: riastradh Date: Mon Feb 19 23:19:11 UTC 2024 Modified Files: src/tests/lib/libm: t_fenv.c Log Message: fenv(3): Add test for PR port-amd64/57949. To generate a diff of this commit: cvs rdiff -u -r1.13 -r1.14 src/tests/lib/libm/t_fenv.c

CVS commit: src/tests/lib/libm

2023-11-06 Thread Taylor R Campbell
Module Name:src Committed By: riastradh Date: Mon Nov 6 13:48:13 UTC 2023 Modified Files: src/tests/lib/libm: t_fenv.c Log Message: t_fenv: Factor checks out of switch in checkrounding. No functional change intended, just tidies up a bit. PR port-mips/57680 XXX

CVS commit: src/tests/lib/libm

2023-11-06 Thread Taylor R Campbell
Module Name:src Committed By: riastradh Date: Mon Nov 6 13:48:13 UTC 2023 Modified Files: src/tests/lib/libm: t_fenv.c Log Message: t_fenv: Factor checks out of switch in checkrounding. No functional change intended, just tidies up a bit. PR port-mips/57680 XXX

CVS commit: src/tests/lib/libm

2023-11-06 Thread Taylor R Campbell
Module Name:src Committed By: riastradh Date: Mon Nov 6 13:48:00 UTC 2023 Modified Files: src/tests/lib/libm: t_fenv.c Log Message: t_fenv: Use volatile intermediate to force rounding to double. See comment for details about why this is necessary. Should fix these

CVS commit: src/tests/lib/libm

2023-11-06 Thread Taylor R Campbell
Module Name:src Committed By: riastradh Date: Mon Nov 6 13:48:00 UTC 2023 Modified Files: src/tests/lib/libm: t_fenv.c Log Message: t_fenv: Use volatile intermediate to force rounding to double. See comment for details about why this is necessary. Should fix these

CVS commit: src/tests/lib/libm

2023-11-05 Thread Taylor R Campbell
Module Name:src Committed By: riastradh Date: Sun Nov 5 21:13:07 UTC 2023 Modified Files: src/tests/lib/libm: t_fenv.c Log Message: t_fenv: Improve diagnostics when rounding mode tests fail. Print the correct input, and print the rounding mode for clarity so you don't

CVS commit: src/tests/lib/libm

2023-11-05 Thread Taylor R Campbell
Module Name:src Committed By: riastradh Date: Sun Nov 5 21:13:07 UTC 2023 Modified Files: src/tests/lib/libm: t_fenv.c Log Message: t_fenv: Improve diagnostics when rounding mode tests fail. Print the correct input, and print the rounding mode for clarity so you don't

CVS commit: src/tests/lib/libm

2023-11-05 Thread Taylor R Campbell
Module Name:src Committed By: riastradh Date: Sun Nov 5 16:28:05 UTC 2023 Modified Files: src/tests/lib/libm: t_fenv.c Log Message: t_fenv: Add #pragma STDC FENV_ACCESS ON and verify FLT_RADIX is 2. Except gcc doesn't implement this pragma, so make it conditional. And

CVS commit: src/tests/lib/libm

2023-11-05 Thread Taylor R Campbell
Module Name:src Committed By: riastradh Date: Sun Nov 5 16:28:05 UTC 2023 Modified Files: src/tests/lib/libm: t_fenv.c Log Message: t_fenv: Add #pragma STDC FENV_ACCESS ON and verify FLT_RADIX is 2. Except gcc doesn't implement this pragma, so make it conditional. And

CVS commit: src/tests/lib/libm

2023-11-05 Thread Taylor R Campbell
Module Name:src Committed By: riastradh Date: Sun Nov 5 16:06:27 UTC 2023 Modified Files: src/tests/lib/libm: t_fenv.c Log Message: t_fenv: Verify rounding mode takes effect. At least for addition operations, anyway. Somewhat redundant with the test t_fe_round added by

CVS commit: src/tests/lib/libm

2023-11-05 Thread Taylor R Campbell
Module Name:src Committed By: riastradh Date: Sun Nov 5 16:06:27 UTC 2023 Modified Files: src/tests/lib/libm: t_fenv.c Log Message: t_fenv: Verify rounding mode takes effect. At least for addition operations, anyway. Somewhat redundant with the test t_fe_round added by

CVS commit: src/tests/lib/libm

2023-11-05 Thread Taylor R Campbell
Module Name:src Committed By: riastradh Date: Sun Nov 5 15:28:17 UTC 2023 Modified Files: src/tests/lib/libm: t_fenv.c Log Message: t_fenv: Check FLT_ROUNDS whenever we touch the rounding mode. PR port-mips/57680 XXX pullup-10 To generate a diff of this commit: cvs

CVS commit: src/tests/lib/libm

2023-11-05 Thread Taylor R Campbell
Module Name:src Committed By: riastradh Date: Sun Nov 5 15:28:17 UTC 2023 Modified Files: src/tests/lib/libm: t_fenv.c Log Message: t_fenv: Check FLT_ROUNDS whenever we touch the rounding mode. PR port-mips/57680 XXX pullup-10 To generate a diff of this commit: cvs

CVS commit: src/tests/lib/libm

2023-11-05 Thread Taylor R Campbell
Module Name:src Committed By: riastradh Date: Sun Nov 5 15:27:40 UTC 2023 Modified Files: src/tests/lib/libm: t_fenv.c Log Message: t_fenv: Print wrong values if tests fail. XXX pullup-10 To generate a diff of this commit: cvs rdiff -u -r1.6 -r1.7

CVS commit: src/tests/lib/libm

2023-11-05 Thread Taylor R Campbell
Module Name:src Committed By: riastradh Date: Sun Nov 5 15:27:40 UTC 2023 Modified Files: src/tests/lib/libm: t_fenv.c Log Message: t_fenv: Print wrong values if tests fail. XXX pullup-10 To generate a diff of this commit: cvs rdiff -u -r1.6 -r1.7

CVS commit: src/tests/lib/libm

2019-05-26 Thread Maya Rashish
Module Name:src Committed By: maya Date: Mon May 27 00:24:37 UTC 2019 Modified Files: src/tests/lib/libm: t_sin.c Log Message: Print result of function we tested (sinf), not of function we didn't test (sin). no need to print 17 digits for a float. from Riastradh. To

CVS commit: src/tests/lib/libm

2019-05-26 Thread Maya Rashish
Module Name:src Committed By: maya Date: Mon May 27 00:24:37 UTC 2019 Modified Files: src/tests/lib/libm: t_sin.c Log Message: Print result of function we tested (sinf), not of function we didn't test (sin). no need to print 17 digits for a float. from Riastradh. To

CVS commit: src/tests/lib/libm

2019-05-26 Thread Maya Rashish
Module Name:src Committed By: maya Date: Mon May 27 00:10:36 UTC 2019 Modified Files: src/tests/lib/libm: t_cos.c Log Message: on i386 with FLT_EVAL_METHOD=2, the computation inside cosf was done in binary80 arithmetic and never rounded to binary32 at the end, so it

Re: CVS commit: src/tests/lib/libm

2017-08-21 Thread Joerg Sonnenberger
On Mon, Aug 21, 2017 at 10:02:44AM +, Christos Zoulas wrote: > In article <20170820110132.ga5...@britannica.bec.de>, > Joerg Sonnenberger wrote: > >On Sun, Aug 20, 2017 at 04:25:47AM -0400, Christos Zoulas wrote: > >> Module Name: src > >> Committed By: christos > >>

Re: CVS commit: src/tests/lib/libm

2017-08-20 Thread Joerg Sonnenberger
On Sun, Aug 20, 2017 at 04:25:47AM -0400, Christos Zoulas wrote: > Module Name: src > Committed By: christos > Date: Sun Aug 20 08:25:47 UTC 2017 > > Modified Files: > src/tests/lib/libm: t_fe_round.c > > Log Message: > fix build (missing nexttoward on mips64 and aarch64) Please

Re: CVS commit: src/tests/lib/libm

2017-07-26 Thread Taylor R Campbell
> Date: Wed, 26 Jul 2017 22:02:09 +0300 > From: Valery Ushakov > > Also, portmasters could have been asked in advance, at least pro > forma. If I'm given a heads up and a summary of what needs to be > done, I can usually schedule it within a few days. When I see a > commit

Re: CVS commit: src/tests/lib/libm

2017-07-26 Thread Joerg Sonnenberger
On Wed, Jul 26, 2017 at 06:28:16AM +0700, Robert Elz wrote: > Date:Tue, 25 Jul 2017 22:43:18 + > From:co...@sdf.org > Message-ID: <20170725224318.ga3...@sdf.org> > > | It's a minor inconvenience to fix a critical bug. > > Breaking builds is not a minor

  1   2   >