|
e05215a8
|
2019-05-09T04:06:12
|
|
deprecate old macros, deprecate mp_rand_digit
|
|
385d1a82
|
2019-05-09T14:44:19
|
|
Merge pull request #248 from libtom/test-mp_rand
Test mp_rand
|
|
eedf1624
|
2019-03-07T15:01:45
|
|
allow filtering of tests executed
|
|
1a12486d
|
2019-05-08T21:08:16
|
|
add mp_rand test
|
|
cc3be565
|
2019-05-09T09:31:49
|
|
Merge pull request #246 from libtom/error-string
add MP_ERR to mp_error_to_string
|
|
53c30fff
|
2019-05-09T04:16:24
|
|
add MP_ERR to mp_error_to_string
|
|
be11f12b
|
2019-05-08T17:16:12
|
|
Merge pull request #236 from libtom/custom-rand-source
support custom random data source via mp_rand_source
|
|
56fb5e4a
|
2019-05-08T15:17:37
|
|
mp_rand_source(NULL) sets to platform random source
|
|
9e28ef9f
|
2019-05-08T15:14:50
|
|
mp_rand: use #else after arcrandom
|
|
2a0021a4
|
2019-05-08T14:57:04
|
|
mp_rand: remove superflous mp_clamp
|
|
9ddf1e58
|
2019-05-07T12:26:46
|
|
support custom random data source via mp_rand_source
* deprecate MP_PRNG_ENABLE_LTM_RNG
* custom mp_rand_source is used always if set, which should be more aligned with user expectations
* use custom source in tune.c
* don't call random number generator once per digit, which is slow
|
|
f0f75186
|
2019-05-07T17:24:51
|
|
set std=c89
we cannot set it together with -Wsystem-headers since the system headers
are usually not c89 but c99
|
|
50fe11bf
|
2019-05-07T16:34:19
|
|
fix help-output of tune program
[skip ci]
|
|
f4d8b463
|
2019-05-07T16:33:44
|
|
Merge pull request #235 from libtom/tune-fixes
Tune fixes
|
|
e8ff3429
|
2019-05-07T11:55:43
|
|
cleanup make output
|
|
4f5334e4
|
2019-05-07T11:50:58
|
|
etc/tune.c: add missing break
|
|
6fb233c9
|
2019-05-07T11:50:18
|
|
gitignore dos2unix, ignore file from make tune
|
|
e0e8c3d5
|
2019-05-07T12:35:55
|
|
just use one .gitignore for simplicity
|
|
e9879726
|
2019-05-07T12:09:26
|
|
Merge pull request #234 from libtom/more-deprecations
More deprecations
|
|
fe9a8189
|
2019-05-07T10:56:13
|
|
sanitize comments in helper.pl
|
|
2ea04fb7
|
2019-05-07T10:42:26
|
|
dep.pl: strip comments
|
|
c7596983
|
2019-05-07T10:28:32
|
|
fix dep.pl - use lookahead to only generated dependencies for 'mp_*('
|
|
290c28c1
|
2019-05-07T09:49:26
|
|
deprecate PRIME_SIZE in favor of MP_PRIME_SIZE
|
|
44d03a6f
|
2019-05-07T09:45:38
|
|
deprecate LTM_PRIME_* macros in favor of MP_PRIME_*
|
|
e2ee39b5
|
2019-04-26T12:39:26
|
|
deprecate ltm_prime_callback
|
|
80f5fac5
|
2019-04-26T12:35:39
|
|
rename LTM_NO_FILE to MP_NO_FILE
|
|
0337d48b
|
2019-04-25T19:35:19
|
|
add MP_NULL_TERMINATED
|
|
250751be
|
2019-05-07T09:32:59
|
|
tommath.h: do not expose stdlib.h
|
|
79c87430
|
2019-05-07T09:10:37
|
|
Merge pull request #232 from czurnieden/autotune
Autotuning functionality for the Toom-Cook cut-offs
|
|
a7fcb6f5
|
2019-05-06T22:38:16
|
|
update etc/tune_it.sh after merging #231
|
|
db76bed2
|
2019-05-04T18:57:07
|
|
added autotuning functionality for the Toom-Cook cut-offs
|
|
9e1a75cf
|
2019-05-06T22:18:33
|
|
Merge pull request #231 from libtom/tune-via-D
Tunable cutoff parameters
|
|
818d8fb7
|
2019-05-03T17:39:10
|
|
Rework handling of tunable cutoffs
* In the default settings, a cutoff X can be modified at runtime
by adjusting the corresponding X_CUTOFF variable.
* Tunability of the library can be disabled at compile time
by defining the MP_FIXED_CUTOFFS macro.
* There is an additional file tommath_cutoffs.h, which defines
the default cutoffs. These can be adjusted manually or by the
autotuner.
|
|
91d953ed
|
2019-04-26T11:43:06
|
|
Merge pull request #226 from libtom/deprecate-macros2
Deprecate macros (2)
|
|
90eccd57
|
2019-04-25T15:36:35
|
|
prefix private macros by PRIVATE_
|
|
632601f4
|
2019-04-13T17:34:11
|
|
MP_WARRAY is an internal macro
|
|
e45f75fd
|
2019-04-13T08:46:57
|
|
deprecate DIGIT_BIT, use MP_DIGIT_BIT
|
|
a8c76138
|
2019-04-12T21:15:56
|
|
deprecate macros in tommath.h
* move MP_DEPRECATED to tommath.h since we need it later
* add MP_DEPRECATED_PRAGMA
|
|
a6b5da2f
|
2019-04-24T22:20:39
|
|
Merge pull request #225 from minad/travis/compiler-versions
Test against multiple specific clang/gcc versions
|
|
e8f56cc4
|
2019-04-05T11:37:49
|
|
enable -Wconversion and -Wsign-conversion on travis
* no changes to the library code
* conversion issues in the demo testsuite fixed
* add CONV_WARNINGS and enable the warnings only for clang-7 (for now)
* disable Wsystem-headers if Wconversion is enabled, to avoid warnings from the system headers
|
|
6d092b85
|
2019-04-19T19:01:38
|
|
travis: test various compiler options
|
|
cb34cc2b
|
2019-04-19T18:57:26
|
|
ignore emacs and vim files
|
|
6eae00c8
|
2019-04-18T09:23:43
|
|
Merge pull request #219 from czurnieden/bn_ilogb
Resolving problems mentioned in #218
|
|
8a886c82
|
2019-04-10T16:33:22
|
|
resolving #218
|
|
e9e2342b
|
2019-04-18T08:27:35
|
|
Merge pull request #218 from fperrad/20190410_lint
more linting
|
|
bdf93e83
|
2019-04-10T15:35:23
|
|
avoid else if
|
|
a13a7e7c
|
2019-04-10T15:46:59
|
|
missing cast
|
|
01de1fe1
|
2019-04-10T15:47:49
|
|
literal suffix
|
|
b586fcbd
|
2019-04-10T15:21:54
|
|
explicit condition
|
|
f5a4537f
|
2019-04-12T22:50:39
|
|
Merge pull request #222 from libtom/fix/includes
fix includes
|
|
e05b1e18
|
2019-04-12T19:07:08
|
|
fix includes
as of @czurnieden "there's always leftovers" and he's right
that's a leftover of #127
|
|
a7522427
|
2019-04-12T15:49:18
|
|
Merge pull request #172 from minad/rename-internals
Rename internals
|
|
8bf2eaa1
|
2019-04-12T14:58:27
|
|
use MP_IS_ZERO in bn_mp_ilogb
|
|
fbfcb661
|
2019-04-12T14:56:29
|
|
apply rename
|
|
7469e852
|
2019-03-07T04:02:32
|
|
add rename script
|
|
87292ed1
|
2019-04-09T12:19:40
|
|
move mp_balance_mul to tommath_private.h
|
|
df8fcb0e
|
2019-04-09T11:18:23
|
|
add MP_DEPRECATED macro
|
|
e09a5c99
|
2019-04-09T11:10:57
|
|
remove s_mp_mul which is only used once
|
|
c4fb2241
|
2019-04-09T11:08:26
|
|
rename macros in tommath_private to use MP_* prefix
|
|
a105bc95
|
2019-04-12T13:30:22
|
|
Merge pull request #220 from libtom/missing_error_code
Add handling of MP_ITER error-code to mp_error_to_string()
|
|
2b6e9d05
|
2019-04-12T11:24:17
|
|
Change, make it a switch-statement
|
|
6b3c2ba1
|
2019-04-12T10:46:31
|
|
Add handling of MP_ITER error-code to mp_error_to_string()
|
|
3d51fe16
|
2019-04-11T10:41:22
|
|
Merge pull request #217 from libtom/rename_bn_error_c
Rename bn_error.c to bn_mp_error_to_string.c
|
|
066830ad
|
2019-04-10T15:40:54
|
|
Fix surrounding macro
|
|
3afec571
|
2019-04-10T15:19:23
|
|
Re-generate callgraph and tommath_class.h
|
|
5968263b
|
2019-04-10T14:49:59
|
|
Rename bn_error.c to bn_mp_error_to_string.c
|
|
d999fed6
|
2019-04-10T08:04:55
|
|
Merge pull request #191 from czurnieden/bn_ilogb
New function: ilogb, integer logarithm to integer base
|
|
35311aea
|
2019-04-03T23:50:57
|
|
added function mp_ilogb
|
|
96ece822
|
2019-04-09T21:47:13
|
|
Merge pull request #215 from fperrad/20190409_lint
some linting
|
|
42193f89
|
2019-04-09T20:26:08
|
|
explicit operator precedence
|
|
cb8c00d8
|
2019-04-08T05:35:48
|
|
remove useless initialization
|
|
fb3eec20
|
2019-04-04T19:11:35
|
|
final else after a chain of if/else if
|
|
382a561c
|
2019-04-04T19:07:24
|
|
literal suffix
|
|
2033fb91
|
2019-04-07T23:39:31
|
|
Merge pull request #206 from czurnieden/bn_mul_balance
Multiplication balancing for the Toom-Cook algorithms
|
|
27ca25cb
|
2019-04-06T18:55:43
|
|
added multiplcation balancing for the Toom-Cook algorithms
|
|
7f42ce09
|
2019-04-07T21:30:51
|
|
Merge pull request #211 from libtom/remove-footers
remove footers & headers
|
|
ff561404
|
2019-04-07T15:29:11
|
|
shorter headers
|
|
70a30ae7
|
2019-04-07T02:29:28
|
|
remove footers
|
|
4f8c3532
|
2019-04-07T14:48:43
|
|
Merge pull request #209 from libtom/reintroduce-realloc
Reintroduce calloc
|
|
a3651cbd
|
2019-04-04T12:43:08
|
|
apply modifications to XCALLOC according to #192
|
|
d6c6f8c3
|
2019-04-04T12:38:36
|
|
use `calloc` so we don't have to zero the digits ourself
this also has the nice side-effect that potential multiplication
overflows in `mp_init_size` are now eliminiated
|
|
d01b5318
|
2019-04-04T12:25:34
|
|
Revert "Merge pull request #188 from libtom/unused_xcalloc"
This reverts commit 27417b85c72ee1417050e65507aab11ccf42e03a, reversing
changes made to d449bd44c02e1308af7b4ae30310799d26d38496.
|
|
ec4149d0
|
2019-04-06T23:40:47
|
|
Merge pull request #189 from czurnieden/bugfix-n-root
changed seed to make nth-root usable
|
|
8312296b
|
2019-04-06T19:38:23
|
|
workaround for bug in helper.pl
|
|
984d3ff6
|
2019-04-01T03:41:26
|
|
changed seed to make nth-root usable
|
|
432f995f
|
2019-04-06T18:55:25
|
|
Merge pull request #205 from libtom/travis_check_sources
Add travis build-job that checks the source-code format
|
|
c4bb3c1b
|
2019-04-06T17:59:49
|
|
let's see if the xenial version of astyle is better
|
|
6dc923ef
|
2019-04-06T17:45:05
|
|
clean-up `make astyle` output
|
|
6f5df266
|
2019-04-06T17:40:46
|
|
fix file headers & footers
|
|
58e9084e
|
2019-04-06T17:38:41
|
|
run `make new_file`
|
|
cf807537
|
2019-04-06T17:37:48
|
|
run `make astyle`
|
|
179daef1
|
2019-04-06T17:37:33
|
|
add travis-build to check source-code format
|
|
9e8b71e3
|
2019-04-05T11:43:36
|
|
remove travis build of clang + x32
as clang has no x32 support at all there's no need to test it
[skip ci]
|
|
05137105
|
2019-04-05T11:43:22
|
|
Merge pull request #192 from libtom/alloc-sizes
allocation functions: pass size to XREALLOC and XFREE
|
|
db9a47d5
|
2019-04-04T11:01:08
|
|
allocation functions: pass size to XREALLOC and XFREE
This is similar to the signatures of the custom allocation functions provided by GMP.
The allocation sizes are useful if the allocator has no easy way to access the allocation size.
|
|
32b3351d
|
2019-04-05T10:54:06
|
|
Merge pull request #200 from libtom/cast-cleanup
remove unnecessary size_t casts, fix Wconversion/Wsign-conversion issues
|
|
5da4e0ac
|
2019-04-04T23:06:00
|
|
remove unnecessary size_t casts, fix Wconversion/Wsign-conversion issues
Wconversion and Wsign-conversion is still not activated by default,
since there are many issues in demo.c.
|
|
c1131186
|
2019-04-05T10:49:28
|
|
Merge pull request #199 from libtom/remove-set-long-specialization
remove mp_set_long specialization
|
|
77143c33
|
2019-04-04T12:57:22
|
|
remove mp_set_long specialization
|
|
d256648e
|
2019-04-04T13:32:14
|
|
Merge pull request #193 from czurnieden/develop
removed tracing
|