Steffen Jaeckel
7c2211c87b
Merge pull request #303 from libtom/refactor_mp_div_d
...
Eliminate unneeded static function
2019-06-03 11:35:24 +02:00
nijtmans
f2d6f52bb9
Eliminate unneeded static function: Since b==0 and b==1 are already checked for earlier, it can be simplified and inlined.
2019-06-03 11:00:09 +02:00
Steffen Jaeckel
34f2ddbc91
Merge pull request #306 from fperrad/20190524_lint
...
some linting
2019-06-03 10:55:40 +02:00
Francois Perrad
3e15a3ff46
literal suffix
2019-05-31 10:53:30 +02:00
Francois Perrad
b3a4341ad7
explicit operator precedence
2019-05-31 10:53:18 +02:00
Steffen Jaeckel
2b41c95502
Merge pull request #292 from fperrad/20190523_lint
...
some linting
2019-05-31 10:14:03 +02:00
Francois Perrad
25ff85d2bf
move cast inside macro
2019-05-29 08:16:46 +02:00
Francois Perrad
b9de7c09b1
cast
2019-05-29 08:16:46 +02:00
Francois Perrad
e7f34c6969
literal suffix
2019-05-29 08:16:46 +02:00
Steffen Jaeckel
431ea331d7
fix most of the makefiles
...
[skip ci]
2019-05-28 14:23:38 +02:00
Steffen Jaeckel
b055595bd8
Merge pull request #299 from libtom/fix-appveyor
...
let's try to fix appveyor.yml
2019-05-28 09:00:59 +02:00
Steffen Jaeckel
7878db6800
use correct version and only build specific branches
2019-05-28 08:28:32 +02:00
Steffen Jaeckel
8dfb04f5db
let's try the multi-line cmd again
2019-05-28 08:27:06 +02:00
Steffen Jaeckel
fd26938935
Merge pull request #294 from libtom/deprecate-ex-funs
...
deprecate mp_n_root_ex and mp_expt_d_ex
2019-05-27 16:53:55 +02:00
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