Home | History | Annotate | Download | only in libm
History log of /src/tests/lib/libm/t_hypot.c
RevisionDateAuthorComments
 1.9  07-Apr-2025  riastradh tests: Use `#if __*_HAS_DENORM__', not `#ifdef __*_HAS_DENORM__'.

The compiler defines this to zero on, e.g., VAX.

PR port-vax/59261: t_fpclassify tests are failing
 1.8  13-May-2024  rillig branches: 1.8.2;
tests/t_hypot: actually add nan test
 1.7  12-May-2024  riastradh t_hypot: Use an ld80 test case that actually fits in ld80.

Also add comments explaining how I generated these test cases.

(No autoconf back doors hidden in these magic numbers, I promise! No
pythagoreans were harmed in the production of these tests either.)
 1.6  11-May-2024  riastradh tests/lib/libm/t_hypot: Check inf/nan cases too.
 1.5  11-May-2024  riastradh hypotl(3): Fix includes and macros.

1. Need <math.h> for __HAVE_LONG_DOUBLE.
2. Need <machine/ieee.h> for struct ieee_ext_u &c.
3. EXT_FRACLBITS, not LDBL_MANL_SIZE.

PR lib/58245: hypotl is broken on ld128 ports
 1.4  11-May-2024  riastradh tests/lib/libm/t_hypot: More trivial tests.

Check both signs of zero.
 1.3  11-May-2024  riastradh tests/lib/libm/t_hypot: Expand substantially.

PR lib/58245: hypotl is broken on ld128 ports
 1.2  25-Jun-2020  jruoho Reference PRs consistently.
 1.1  24-Jan-2016  gson Add some tests of hypot() and hypotf()
 1.8.2.1  02-Aug-2025  perseant Sync with HEAD

RSS XML Feed