Home | History | Annotate | Download | only in libm
History log of /src/tests/lib/libm/t_ilogb.c
RevisionDateAuthorComments
 1.11  14-May-2024  riastradh t_ilogb: Nix spurious line break in ATF_CHECK_MSG.
 1.10  09-May-2024  riastradh tests/lib/libm/t_ilogb: Expand and tidy.

1. Instead of calling out VAX by name, use #ifdef NAN and
isinf(INFINITY). (VAX defines INFINITY even though it's not an
infinity, not sure if there's a better compile-time test.)

2. Verify ilogbl works on long double on all architectures, not just
those with __HAVE_LONG_DOUBLE which means long double is _larger_
than double.
 1.9  14-Jun-2018  maya for consistency, print the statement that is true in the error case.
also add missing closing paren
 1.8  14-Jun-2018  maya Test for FE_INVALID in a way that works for powerpc too.

powerpc seems to return FE_INVALID | FE_VXSOFT rather than just FE_INVALID.
XXX need extra careful reading of standards
 1.7  13-Jan-2017  christos branches: 1.7.12;
PR/51837: Ngie Cooper: add limits.h for INT_MAX
 1.6  26-Aug-2016  christos branches: 1.6.2;
forgot to protect an ilogbl
 1.5  24-Aug-2016  christos fix test; clearing the exception does not return the old exception bitmask.
 1.4  24-Aug-2016  christos fix long double
 1.3  23-Aug-2016  christos portability fixes
 1.2  22-Aug-2016  maya Mistakes were made, compare correct values now.
 1.1  22-Aug-2016  maya add failing test for PR lib/51427
ilogb(INFINITY)=-INT_MAX, it should be INT_MAX

while here, test raised exceptions, other values.

XXX some platforms don't have exceptions
 1.6.2.3  20-Mar-2017  pgoyette Sync with HEAD
 1.6.2.2  14-Sep-2016  pgoyette Sync with HEAD
 1.6.2.1  26-Aug-2016  pgoyette file t_ilogb.c was added on branch pgoyette-localcount on 2016-09-14 03:04:19 +0000
 1.7.12.1  25-Jun-2018  pgoyette Sync with HEAD

RSS XML Feed