Commit Graph

1218 Commits

Author SHA1 Message Date
Daniel Mendler
c7314fa400
deprecate mp_n_root_ex and mp_expt_d_ex
These functions were introduced to give some timing guarantees.
However the guarantees are too weak to be useful.
The functions seem to be unused essentially by downstream users.
2019-05-27 15:59:40 +02:00
Steffen Jaeckel
c58c7f6ddd
Merge pull request #293 from libtom/simplify-scripts
Simplify scripts
2019-05-27 15:59:23 +02:00
Daniel Mendler
64be56e7d0
remove global $deplist 2019-05-27 15:54:45 +02:00
Daniel Mendler
dfcaf41f75
remove global %depmap 2019-05-27 15:54:45 +02:00
Daniel Mendler
25d663d047
rename deplist to depmap 2019-05-27 15:54:45 +02:00
Daniel Mendler
4f26de17a2
fix return value 2019-05-27 15:54:45 +02:00
Daniel Mendler
36b4411cc7
remove indent global var 2019-05-27 15:54:45 +02:00
Daniel Mendler
26548f0f4e
make helper-dep.pl part of helper.pl 2019-05-27 15:54:45 +02:00
Daniel Mendler
712919f337
[WIP] start to make dep.pl part of helper.pl 2019-05-27 15:54:45 +02:00
Daniel Mendler
d45a80ec1c
remove updatemakes script, it is just an indirection calling helper.pl 2019-05-27 15:54:45 +02:00
Steffen Jaeckel
53d45ad6aa
Merge pull request #296 from czurnieden/autotune_output_travis
minor improvements&fixes
2019-05-27 15:54:15 +02:00
Steffen Jaeckel
345173a311 make it possible to run etc/tune_it.sh from wherever you want 2019-05-27 15:34:53 +02:00
Steffen Jaeckel
0e1a0e6529 also test mp_shrink() 2019-05-27 15:34:53 +02:00
czurnieden
80bb97fd96 corrected path for autotune-output 2019-05-27 15:34:53 +02:00
Steffen Jaeckel
7bc487fe8b
Merge pull request #298 from libtom/fix-appveyor
fix appveyor.yml
2019-05-27 15:33:41 +02:00
Steffen Jaeckel
d2076fdd11 move test execution into test stage 2019-05-27 15:12:31 +02:00
Steffen Jaeckel
497ea474bb try to fix yaml 2019-05-27 12:35:10 +02:00
Steffen Jaeckel
04c850493f
Merge pull request #297 from libtom/msvc-fixes
Msvc fixes (appveyor works!)
2019-05-26 23:41:47 +02:00
Daniel Mendler
6ce1bcb396
add appveyor.yml: test both vc2015 and vc2017 2019-05-26 11:47:34 +02:00
Daniel Mendler
4b475aca03
fixes for msvc 2019-05-26 11:47:26 +02:00
Karel Miko
9578d671fa fix invalid OBJECTS=... definition in makefile.msvc 2019-05-25 23:11:17 +02:00
Steffen Jaeckel
8e1704d8fe
Merge pull request #288 from libtom/deprecate-is-divisible
deprecate mp_prime_is_divisible and ltm_prime_tab
2019-05-24 12:52:20 +02:00
Daniel Mendler
bcec605af5
deprecate mp_prime_is_divisible and ltm_prime_tab
* it is an implementation detail used for prime testing
* there is upcoming work by @czurnieden regarding a generalised prime sieve
* furthermore remove jacobi test (replaced by kronecker)
2019-05-24 12:30:55 +02:00
Steffen Jaeckel
50f0bd750e
Merge pull request #290 from libtom/private-mp-prec
MP_PREC is an internal macro, it should be defined in tommath_private.h
2019-05-24 12:30:29 +02:00
Daniel Mendler
c7a7bd47af
MP_PREC is an internal macro, it should be defined in tommath_private.h 2019-05-24 12:26:50 +02:00
Steffen Jaeckel
3000eaa48d
Merge pull request #291 from libtom/simpler-mp-digit-bit
disallow defining MP_DIGIT_BIT, only allow MP_8/16/31/32/64BIT
2019-05-24 12:26:25 +02:00
Daniel Mendler
b0938d70f3
remove obsolete comment 2019-05-24 11:57:47 +02:00
Daniel Mendler
9f607dd5eb
disallow defining MP_DIGIT_BIT, only allow MP_8/16/31/32/64BIT 2019-05-24 11:57:47 +02:00
Steffen Jaeckel
e82c42a80b
Merge pull request #273 from czurnieden/cleanup_prime_is_prime
prime_is_prime: remove obsolete restriction on PRIME_SIZE
2019-05-24 11:48:29 +02:00
Christoph Zurnieden
47af7bf2a9 remove no-deterministic M-R-only tests 2019-05-24 11:29:24 +02:00
Steffen Jaeckel
20ae9fbafd
Merge pull request #285 from libtom/set-int3
introduce mp_set_sint and mp_set_uint functions with precise types
2019-05-24 11:23:24 +02:00
Daniel Mendler
0a9f5e9bc1
use u32 i64 suffix 2019-05-24 10:21:54 +02:00
Daniel Mendler
d7e1cb4a09
another proposal: use _ul and _l for the long macros 2019-05-24 00:15:57 +02:00
Daniel Mendler
b58c996686
use int32 and uint32 instead of sint and uint 2019-05-24 00:15:57 +02:00
Daniel Mendler
d795985497
improve comment in tommath.h, extend .gitignore 2019-05-24 00:15:57 +02:00
Daniel Mendler
3289c9590b
introduce various mp_set_sint/mp_set_uint functions with precise types 2019-05-24 00:15:57 +02:00
Steffen Jaeckel
51512f99f0
Merge pull request #289 from libtom/static-assert
add MP_STATIC_ASSERT
2019-05-23 23:22:11 +02:00
Daniel Mendler
18f6e4648b
add MP_STATIC_ASSERT 2019-05-23 16:00:31 +02:00
Steffen Jaeckel
07c1898754
Merge pull request #287 from fperrad/20190522_lint
some linting
2019-05-22 11:53:57 +02:00
Francois Perrad
7fdd6b507d literal suffix instead of cast 2019-05-22 10:33:12 +02:00
Francois Perrad
7ffc562d28 literal suffix 2019-05-22 08:23:53 +02:00
Francois Perrad
9a8b2ecb02 explicit operator precedence 2019-05-22 08:23:49 +02:00
Francois Perrad
991aea532f explicit condition 2019-05-22 08:23:37 +02:00
Steffen Jaeckel
e8ae3e8309
Merge pull request #265 from czurnieden/faster_toom_cook_three
faster Toom-Cook 3 algorithms
2019-05-22 07:59:33 +02:00
czurnieden
228e487bc4 faster Toom-Cook 3 algorithm 2019-05-21 23:44:13 +02:00
Steffen Jaeckel
c99a88e790
Merge pull request #266 from fperrad/20190517_lint
more linting
2019-05-21 23:03:48 +02:00
Francois Perrad
d3cbfd587d remove useless semicolon 2019-05-21 20:23:16 +02:00
Francois Perrad
330b980d49 literal char 2019-05-21 20:23:16 +02:00
Francois Perrad
8d73e158df literal suffix 2019-05-21 20:23:16 +02:00
Francois Perrad
a4f9818b71 more cast 2019-05-21 20:23:16 +02:00