summaryrefslogtreecommitdiff
path: root/tests/t-constants.c
Commit message (Collapse)AuthorAgeFilesLines
* Include gmp-impl.h.Torbjorn Granlund2019-08-171-1/+1
|
* Remove K&R stringize support.Torbjorn Granlund2015-06-231-9/+0
|
* Get rid of BYTES_PER_MP_LIMB, most files affected.Torbjorn Granlund2014-01-191-1/+1
|
* Copyright year.Marco Bodrato2014-01-181-1/+1
|
* Improve portability of the test suite.Marco Bodrato2014-01-181-1/+1
|
* SHRT_MAX etc have the promoted type in standard C.Marc Glisse2014-01-021-4/+4
|
* Use https to link to GNU license.Torbjorn Granlund2013-12-021-1/+1
|
* Collapse copyright years.Torbjorn Granlund2013-11-281-1/+1
|
* Put all of test suite under GPL, use consistent header.Torbjorn Granlund2012-11-211-11/+11
|
* Add 'const' to variables pointing to character strings.Torbjorn Granlund2010-11-101-12/+12
|
* Finish renaming BITS_PER_MP_LIMB to GMP_LIMB_BITS.Torbjorn Granlund2009-11-281-3/+2
|
* Rename modlimb_invert to binvert_limb.Torbjorn Granlund2008-11-201-1/+1
|
* Update license to version 3.tege2007-09-181-4/+2
|
* Fix printf type/arg mismatches.tege2006-04-081-1/+1
|
* Update FSF's address.tege2006-02-151-2/+2
|
* * tests/t-constants.c (main), tests/t-count_zeros.c (check_clz),Kevin Ryde2003-12-131-2/+2
| | | | | tests/t-modlinv.c (one), tests/mpz/t-jac.c (try_si_zi), tests/mpq/t-get_d.c (check_onebit): : Correction to printfs.
* * gmp-impl.h (MODLIMB_INVERSE_3): Allow for GMP_NUMB_BITS odd.Kevin Ryde2002-06-291-3/+41
| | | | | (GMP_NUMB_CEIL_MAX_DIV3, GMP_NUMB_CEIL_2MAX_DIV3): New constants. * tests/t-constants.c: Check them.
* Rename MP_LIMB_T_HIGHBIT => GMP_LIMB_HIGHBITtege2002-05-071-1/+1
|
* * tests/mpn/t-mp_bases.c: New file.Kevin Ryde2002-04-201-13/+0
| | | | * tests/t-constants.c: Move MP_BASES constants checks to it.
* (MP_BASES_BIG_BASE_INVERTED_10, MP_BASES_NORMALIZATION_STEPS_10): OnlyKevin Ryde2002-04-111-0/+3
| | | | check these under USE_PREINV_DIVREM_1.
* * tests/t-constants.c (MODLIMB_INVERSE_3): Nailify tests.Kevin Ryde2002-04-111-2/+4
|
* * gmp-impl.h (MP_BASES_CHARS_PER_LIMB_10, MP_BASES_BIG_BASE_10,Kevin Ryde2002-01-051-1/+11
| | | | | | MP_BASES_BIG_BASE_INVERTED_10, MP_BASES_NORMALIZATION_STEPS_10): New constants. * tests/t-constants.c: Add checks.
* * assert.c: Add stdlib.h for abort prototype.Kevin Ryde2001-07-011-4/+3
| | | | | * tests/spinner.c, trace.c, t-constants.c, t-count_zeros.c, t-gmpmax.c, t-modlinv.c: Ditto.
* * tests/t-constants.c (BITS_PER_MP_LIMB, __GMP_BITS_PER_MP_LIMB):Kevin Ryde2001-05-171-0/+1
| | | | Check these are the same.
* * tests/t-constants.c (BITS_PER_ULONG): Check this value.Kevin Ryde2001-02-281-3/+15
| | | | Add some reminders about tests that fail on Cray.
* Disable some undefined tests.tege2001-01-091-9/+8
| | | | (CHECK_MAX_S): Remove workaround for gcc 2.95.2 bug recently added.
* Reversion of:Kevin Ryde2001-01-091-4/+6
| | | | | Correction to: (CHECK_MAX_S): Fix for gcc 2.95.2 -mpowerpc64 -maix64.
* More of:Kevin Ryde2001-01-091-17/+66
| | | | * tests/t-constants.c: Add more diagnostics.
* Correction to:Kevin Ryde2001-01-091-4/+4
| | | | (CHECK_MAX_S): Fix for gcc 2.95.2 -mpowerpc64 -maix64.
* * tests/t-constants.c: Add more diagnostics.Kevin Ryde2001-01-091-6/+37
| | | | (CHECK_MAX_S): Fix for gcc 2.95.2 -mpowerpc64 -maix64.
* * tests/t-constants.c: Remove BITS_PER_LONGINT, BITS_PER_INT,Kevin Ryde2001-01-071-6/+1
| | | | BITS_PER_SHORTINT and BITS_PER_CHAR tests.
* More of:Kevin Ryde2001-01-071-51/+71
| | | | | | * tests/t-constants.c: Add checks of HIGHBIT, MAX and MIN constants, simplify ANSI vs K&R stringizing, use correct printf format types, do all tests before aborting.
* * tests/t-constants.c: Add checks of HIGHBIT, MAX and MIN constants,Kevin Ryde2001-01-061-62/+134
| | | | | simplify ANSI vs K&R stringizing, use correct printf format types, do all tests before aborting.
* * tests/t-constants.c (CALC_BITS_PER_TYPE etc): Use a run-time testKevin Ryde2001-01-041-8/+52
| | | | for how many bits work in a give type, don't assume bits==8*sizeof.
* Add a copyright year.tege2001-01-031-1/+1
|
* (CHECK_CONSTANT): Cast parameters to long.tege2001-01-031-10/+12
|
* (CHECK_CONSTANT): Print using %lx.tege2000-12-211-2/+2
|
* (main): Conditionalize use of PP_INVERTED.tege2000-12-131-0/+2
|
* Copyright (C) -> Copyright.Kevin Ryde2000-10-151-1/+1
|
* * gmp-impl.h (MODLIMB_INVERSE_3): New constant.Kevin Ryde2000-08-251-0/+14
| | | | | | * mpn/generic/diveby3.c: Use it instead of own INVERSE_3. * mpn/generic/mul_n.c: Ditto. * tests/t-constants.c: Check it, and PP_INVERTED too.
* * tests/t-constants.c: New file.Kevin Ryde2000-08-161-0/+73
(This guards against wrong values in gmp-mparam.h, and in particular detects the current problem with mpn/generic/gmp-mparam.h on a 64-bit system.)