summaryrefslogtreecommitdiff
path: root/tests
Commit message (Collapse)AuthorAgeFilesLines
* tests/mpz/t-aorsmul.c (check_sqr): New function to test mpz_aorsmul (w,x,x)Marco Bodrato2022-05-291-2/+45
|
* tests/mpz/t-pprime_p.c: Some more special cases to trigger unlikely branches ↵Marco Bodrato2022-05-291-4/+9
| | | | (tx: Jan Feitsma)
* tests/mpz/t-pprime_p.c (acheck_composites): Check some 2spsp (tx: Jan Feitsma)Marco Bodrato2022-05-291-0/+15
|
* tests/mpz/t-nextprime.c (run_p): abort() on error.Marco Bodrato2022-05-291-0/+1
|
* tests/mpz/t-pprime_p.c (isprime): Simplify.Marco Bodrato2022-05-141-17/+8
|
* tests/mpz/t-gcd.c: Do not assume a limb fits for _ui functionsMarco Bodrato2022-03-171-1/+4
|
* tests/mpq/io.c: Use a random size.Marco Bodrato2022-03-171-3/+3
|
* tests/mpz/t-lucm.c: Remove an unused varMarco Bodrato2022-03-171-1/+1
|
* t-mulmod_bknp1.c: Better coverageMarco Bodrato2022-02-272-4/+11
|
* tests/mpn/t-sqrmod_bknp1.c: Better coverageMarco Bodrato2022-02-261-7/+23
|
* Copyright yearsMarco Bodrato2022-02-211-1/+1
|
* tests/mpn/t-{mul,sqr}mod_bknp1.c: New tests for mpn_{mul,sqr}mod_bknp1Marco Bodrato2022-02-153-0/+431
| | | | tests/mpn/Makefile.ami (check_PROGRAMS): Compile and run new tests
* Unit test for mpn_addaddmul_1msb0.Niels Möller2021-10-082-1/+99
|
* #include stdint.h even if we have inttypes.hMarc Glisse2021-06-062-8/+6
| | | | | It would be tempting to remove those includes from the files that already include gmp-impl.h.
* tests/mpn/t-toom2-sqr.c: Define additional tests for the unlikely branch (cy<0)Marco Bodrato2021-01-031-0/+80
|
* tests/mpn/toom-sqr-shared.h: Run additional test, if availableMarco Bodrato2021-01-031-0/+8
|
* tests/devel/primes.c: Correctly use n_cto_bit or n_fto_bitMarco Bodrato2020-11-281-8/+8
|
* tests/mpz/t-pprime_p.c (check_fermat_mersenne): Changes similar to Troisi'sMarco Bodrato2020-11-281-2/+3
|
* tests/mpz/t-nextprime.c: Test also mpz_prevprime() (by Troisi)Marco Bodrato2020-11-231-50/+210
|
* tests/mpz/t-pprime_p.c (check_small): Check return value (by Troisi)Marco Bodrato2020-11-231-1/+1
|
* Use reference parameter for 'catch'.Torbjorn Granlund2020-11-195-29/+29
|
* Use local str_casecmp instead of non-standard strcasecmp.Torbjorn Granlund2020-11-191-1/+18
|
* Amend last change.Torbjorn Granlund2020-11-191-1/+1
|
* Avoid using non-standard function fileno().Torbjorn Granlund2020-11-191-3/+3
|
* Avoid using non-standard function fileno()Torbjorn Granlund2020-11-191-1/+1
|
* tests/misc/t-locale.c (nl_langinfo): No redefine on __TERMUX__, spotted by ↵Marco Bodrato2020-11-101-2/+2
| | | | Sanselme and Glisse.
* tests/mpf/t-conv.c: Some more tests on zero.Marco Bodrato2020-10-311-3/+22
|
* tests/mpf/t-get_d_2exp.c: Test also the case zeroMarco Bodrato2020-10-291-1/+11
|
* tests/mpz/t-get_d.c: Test also the case zero.Marco Bodrato2020-10-291-1/+8
|
* tests/mpf/t-trunc.c: Use mpf_size.Marco Bodrato2020-10-291-2/+2
|
* Copyright yearMarco Bodrato2020-10-291-2/+2
|
* tests/devel/gen-test-longlong_h.c: Copyright headerMarco Bodrato2020-10-261-0/+18
|
* tests/devel/Makefile.am: Remove redundanciesMarco Bodrato2020-10-251-10/+5
|
* tests/mpz/io.c: Test out-of-range bases for mpz_out_strMarco Bodrato2020-10-251-1/+14
|
* Print GMP_CHECK_FFT.Torbjorn Granlund2020-09-221-1/+4
|
* tests/mpf/reuse.c: Check index, not function. Allows make check with CC=tcc ↵Marco Bodrato2020-09-171-2/+2
| | | | --disable-assembly
* Add test-add_ssaaaa test-sub_ddmmss to EXTRA_PROGRAMS to hopefully make ↵Torbjorn Granlund2020-06-181-1/+1
| | | | automake do what we want.
* Provide test for add_ssaaaa and sub_ddmmss.Torbjorn Granlund2020-06-182-4/+143
|
* Exit main() properly.Torbjorn Granlund2020-05-123-0/+9
|
* Avoid dummy-reallocating to large mpz_clobber-generated sizes.Torbjorn Granlund2020-04-281-12/+18
| | | | | * tests/mpz/reuse.c (realloc_if_reducing): New function. (INVOKE_RRS, etc): Use realloc_if_reducing.
* tests/mpz/t-nextprime.c: Write values when failing, by TroisiMarco Bodrato2020-03-241-1/+4
|
* tests/devel/primes.c: Update documentation (and remove a small bug).Marco Bodrato2020-03-241-3/+6
|
* tests/devel/primes.c: New testing strategy, nextrpime on every number in an ↵Marco Bodrato2020-03-201-4/+84
| | | | intervall.
* : Use one less variable to loop on primes.Marco Bodrato2020-03-151-7/+7
|
* ChangeLogMarco Bodrato2020-03-111-1/+1
|
* tests/mpz/t-bin.c: Use divexactMarco Bodrato2020-03-111-6/+6
|
* Rename tests/mpz/bit.c to avoid clash with new C++ include file.Torbjorn Granlund2020-03-052-1/+1
|
* Copyright yearsMarco Bodrato2020-02-092-2/+3
|
* tests/mpn/t-sqrmod_bnm1.c: Trigger special cases more often.Marco Bodrato2020-02-091-2/+3
|
* tests/mpz/t-nextprime.c: Split in sub-tests, with new (disabled) ones, by ↵Marco Bodrato2020-02-091-31/+94
| | | | Seth Troisi.