Home | History | Annotate | Download | only in libm
History log of /src/tests/lib/libm/t_fe_round.c
RevisionDateAuthorComments
 1.21  17-Apr-2025  riastradh t_fe_round: Mark xfail on sparc64.

PR port-sparc64/59310: t_fe_round:fe_nearbyint_rint tests are failing
 1.20  15-May-2024  riastradh branches: 1.20.2;
modfl(3): Fix conversion from FreeBSD.

LDBL_MANL_SIZE is spelled EXT_FRACLBITS -- and not EXT_FRACHBITS.

PR lib/58237: modfl returns wrong answers on ld128 architectures
 1.19  09-May-2024  riastradh 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
 1.18  08-May-2024  riastradh tests/lib/libm/t_fe_round: xfail for modfl uses.

PR lib/58237: modfl returns wrong answers on ld128 architectures
 1.17  05-May-2024  riastradh tests/lib/libm/t_fe_round.c: Work around likely ia64 bug in gcc.
 1.16  03-May-2024  riastradh tests/lib/libm/t_fe_round.c: Expand nearbyint/rint tests.

PR lib/58054
 1.15  02-May-2024  riastradh tests/lib/libm/t_fe_round: Fix a missed cast.

Need long long or intmax_t, not long, on LP32.

PR lib/58054
 1.14  02-May-2024  riastradh tests/lib/libm/t_fe_round: Tidy up nearbyintl, sync nearbyint test.

PR lib/58054
 1.13  02-May-2024  riastradh 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 type T.

PR lib/58054
 1.12  02-May-2024  kre 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.

Hopefully will unbreak the i386 build, perhaps others.
 1.11  02-May-2024  riastradh 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 work in essentially all long double formats
to detect when nearbyintl is incorrectly implemented in terms of
nearbyint.

PR lib/58054
 1.10  02-May-2024  riastradh tests/lib/libm/t_fe_round: Tidy up nearbyint test.

Prompted by PR lib/58054.
 1.9  21-Aug-2017  christos don't skip nexttoward for aarch64 and mips64
 1.8  20-Aug-2017  christos fix build (missing nexttoward on mips64 and aarch64)
 1.7  17-Aug-2017  he Add test cases for nextafter() and nexttoward(). At the moment no
corner cases are tested, and the test cases are little more than a
verification that the functions are present in the implementation.
 1.6  11-Aug-2017  he Re-enable the test for nearbyint(), now that all ports (save vax,
which has a separate #if section here) should have nearbyint().
 1.5  25-Jul-2017  uwe Revert previous as it breaks at least sparc and hpcsh builds.
nearbyint() is not included in libm on all platforms.
 1.4  24-Jul-2017  he Add a test checking nearbyint(), using the same table as used by
the existing lrint() test.
 1.3  24-Jul-2017  he Swap around the two last args to the check for expected fegetround(),
so the error message makes sense.
 1.2  20-Dec-2016  maya branches: 1.2.2; 1.2.8;
use labs for absolute value of long
should fix arm build
 1.1  19-Dec-2016  maya add test for fesetround/fegetround that uses lrint (and tests it a bunch).
It doesn't fail on amd64.
 1.2.8.2  29-Aug-2017  martin Pull up the following, requested by he in ticket #217:

lib/libm/Makefile 1.197-1.201
tests/lib/libm/t_fe_round.c 1.7

Ensure nexttowardf() is included on all IEEE targets.
Add rintl() for aarch64 and mips, and nexttoward() for m68k.
Add a test which verifies that nextafter() and nexttoward() are
present in the implementation.
 1.2.8.1  29-Aug-2017  martin Pull up the following, requested by he in ticket #212:

lib/libm/Makefile 1.192-1.196
tests/lib/libm/t_fe_round.c 1.3-1.6

Ensure that nearbyint() is included in all targets except for vax,
and add a test case for nearbyint(), stubbed out for non-IEEE (vax).
 1.2.2.2  07-Jan-2017  pgoyette Sync with HEAD. (Note that most of these changes are simply $NetBSD$
tag issues.)
 1.2.2.1  20-Dec-2016  pgoyette file t_fe_round.c was added on branch pgoyette-localcount on 2017-01-07 08:56:55 +0000
 1.20.2.1  02-Aug-2025  perseant Sync with HEAD

RSS XML Feed