|
146becbd
|
2019-10-31T19:26:55
|
|
literal suffix
|
|
5c335f84
|
2019-10-30T17:26:27
|
|
rename mul/sqr functions for consistency, comba instead of fast suffix
|
|
795cd201
|
2019-10-29T21:48:50
|
|
simplifications: add s_mp_zero_(digs|buf) and s_mp_copy_digs
Originally I made those as macros. However we have many
other small functions like mp_clamp, mp_exch which are also not implemented
as macros right now.
If we would use c99, I would implement them as private static inline
functions. And mp_exch would be a public static inline function.
But since we are bound to c89, we simply use normal functions.
To achieve optimal performance one should either use link time
optimization or amalgamation.
|
|
bf9507a9
|
2019-10-24T22:02:29
|
|
replace mp_bool by stdbool
* This gives the advantage that static analysis **understands** bool,
but complains about using an enum type instead of bool.
* If stdbool.h is not desired, true/false/bool can be replaced using sed
as in the no-stdint-h branch.
* We already include stdint.h and stdbool.h is not more harmful than
this header
|
|
27e142bc
|
2019-10-24T17:52:03
|
|
remove unnecessary == MP_YES/MP_NO comparisons
|
|
c4622f53
|
2019-10-24T21:44:55
|
|
only include tommath_private.h
|
|
17afe155
|
2019-10-24T18:16:05
|
|
needs mp_word
|
|
14642642
|
2019-10-22T18:01:08
|
|
add prefix to cutoff variables
|
|
00b263f3
|
2019-10-22T17:52:26
|
|
remove private_mp_word
|
|
7e5b56f2
|
2019-10-15T21:01:47
|
|
fix printf format
|
|
463205ec
|
2019-10-20T16:54:07
|
|
explicit condition
|
|
8f7a3939
|
2019-10-20T16:51:51
|
|
name parameter in prototype
|
|
e2b95007
|
2019-10-20T16:47:59
|
|
pprime uses mp_word
|
|
f8e9bd27
|
2019-10-20T15:38:32
|
|
Merge pull request #387 from fperrad/20191019_lint
some linting
(cherry picked from commit 8095b3b61240628f052153d6c37539955632564e)
|
|
a1ab90be
|
2019-10-19T17:10:30
|
|
use enum value
|
|
e33311a1
|
2019-10-19T17:14:46
|
|
use enum type
|
|
7a68f128
|
2019-10-19T16:24:39
|
|
Execute move.sh - Rename files from bn_* to match the function names.
* git blame <renamed-file> is not affected
* git log --follow <renamed-file> can be used to show log across renames
|
|
28ea368c
|
2019-10-15T18:09:51
|
|
add missing include
|
|
8825ab60
|
2019-10-09T17:18:56
|
|
improve `clean` make-target
|
|
6caeaf29
|
2019-10-01T11:24:53
|
|
add registry
|
|
538a513e
|
2019-10-01T10:39:12
|
|
use MP_HAS()
|
|
8bd23b0c
|
2019-10-01T10:38:58
|
|
add get/set_cutoffs()
|
|
9a51b129
|
2019-10-01T10:37:30
|
|
exit instead of segfault
|
|
b7eb89c3
|
2019-09-06T15:07:02
|
|
re-write median calculation
|
|
41b6f291
|
2019-09-06T14:56:20
|
|
always run the tune make target
|
|
eca1a49b
|
2019-09-06T14:53:43
|
|
add `s_strtol()`
|
|
2b1c83bd
|
2019-09-06T14:02:38
|
|
refactor the 4 equal loops into a run function
|
|
d0c6a8d5
|
2019-09-06T13:47:28
|
|
put parameters into struct
|
|
1687b152
|
2019-09-06T16:10:44
|
|
allow the user to override {C,L,LD}FLAGS
|
|
72f92519
|
2019-09-03T10:59:32
|
|
fix last occurrences of `mp_toradix()`
|
|
bbe268eb
|
2019-09-03T10:53:40
|
|
Fix deprecation messages and unnecessary includes
|
|
ea3353b6
|
2019-06-13T15:44:00
|
|
Simplify test-cases, by using mp_set_l. Also fix use of types in 2 other files
|
|
345173a3
|
2019-05-24T11:27:42
|
|
make it possible to run etc/tune_it.sh from wherever you want
|
|
2a2e2716
|
2019-05-12T11:33:17
|
|
move jenkins prng to bn_s_mp_rand_jenkins.c
|
|
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
|
|
50fe11bf
|
2019-05-07T16:34:19
|
|
fix help-output of tune program
[skip ci]
|
|
e0e8c3d5
|
2019-05-07T12:35:55
|
|
just use one .gitignore for simplicity
|
|
e8ff3429
|
2019-05-07T11:55:43
|
|
cleanup make output
|
|
4f5334e4
|
2019-05-07T11:50:58
|
|
etc/tune.c: add missing break
|
|
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
|
|
e45f75fd
|
2019-04-13T08:46:57
|
|
deprecate DIGIT_BIT, use MP_DIGIT_BIT
|
|
70a30ae7
|
2019-04-07T02:29:28
|
|
remove footers
|
|
e519d5ef
|
2018-12-27T08:56:32
|
|
fix format
|
|
3ed52404
|
2018-12-25T15:15:30
|
|
`make astyle` + some manual adjustments
|
|
d7f124f5
|
2018-12-02T13:12:30
|
|
avoid c++ comments
|
|
802d8294
|
2018-02-05T20:22:17
|
|
fix type & cast
|
|
9960fe3f
|
2018-02-13T19:04:25
|
|
literal suffix
|
|
7c671e10
|
2018-02-02T13:14:05
|
|
remove unreachable code
|
|
2e04831e
|
2018-02-02T11:55:01
|
|
fix indentation
broken by commit 'check fopen' https://github.com/libtom/libtommath/commit/44d14a398d82ba47db9d919c9909c35e5fd624fb
|
|
44d14a39
|
2017-12-10T10:12:09
|
|
check fopen
|
|
0dbea3b6
|
2017-12-10T10:19:11
|
|
explicit precedence operator with parenthesis
|
|
f5876db0
|
2017-12-10T09:45:29
|
|
fix format
|
|
d74f3d74
|
2018-02-01T22:28:43
|
|
static variable & function
|
|
80bb9e7b
|
2017-12-10T09:35:50
|
|
add missing fclose
|
|
a82d02ad
|
2017-12-09T20:05:20
|
|
remove useless include
|
|
c60eeb0b
|
2017-12-09T20:05:39
|
|
add missing include
|
|
08741a14
|
2017-10-18T10:44:06
|
|
run astyle
|
|
32e710ae
|
2017-10-17T20:51:19
|
|
remove trailing spaces
|
|
6f212942
|
2017-08-28T16:27:26
|
|
replace SVN tags
|
|
f551dbc8
|
2016-02-03T13:07:27
|
|
Remove all traces of ulong64 as per comment by Karel M
|
|
759a926c
|
2014-09-28T13:12:10
|
|
minor changes & clean-up & small fixes
gitignore: add libtool output
booker.pl: fix source code parsing and trim trailing spaces
demo/demo: fix compiler warning, add informational output
demo/timing & etc/tune: fix TIMFUNC()
makefile: minor changes
makefile.shared: increase version, add missing mp_balance_mul
tommath: make sure that DIGIT_BIT is correct
|
|
0213986c
|
2014-09-02T02:14:38
|
|
trim trailing spaces/clean up
|
|
3aba4eac
|
2006-12-24T16:12:36
|
|
added libtommath-0.40
|
|
f0b91a57
|
2006-04-06T19:49:59
|
|
added libtommath-0.39
|
|
9294e791
|
2005-08-01T16:37:28
|
|
added libtommath-0.36
|
|
3d0fcaab
|
2005-02-12T08:40:15
|
|
added libtommath-0.34
|
|
4b7111d9
|
2004-12-23T02:40:37
|
|
added libtommath-0.33
|
|
e549ccfe
|
2004-10-29T22:07:18
|
|
added libtommath-0.32
|
|
8eaa9880
|
2004-08-09T22:15:59
|
|
added libtommath-0.31
|
|
350578d4
|
2004-04-11T20:46:22
|
|
added libtommath-0.30
|
|
6c48a9b3
|
2004-01-25T17:40:21
|
|
added libtommath-0.29
|
|
455bb4db
|
2003-12-24T18:59:22
|
|
added libtommath-0.28
|
|
c343371b
|
2003-09-19T22:43:07
|
|
added libtommath-0.27
|
|
6e732340
|
2003-08-29T14:06:56
|
|
added libtommath-0.26
|
|
c1da6aa2
|
2003-08-05T01:24:44
|
|
added libtommath-0.25
|
|
03cc01b5
|
2003-07-16T00:26:58
|
|
added libtommath-0.24
|
|
eed6765f
|
2003-07-12T14:31:43
|
|
added libtommath-0.23
|
|
4c1d3f08
|
2003-07-02T15:39:39
|
|
added libtommath-0.22
|
|
49bef068
|
2003-06-19T10:04:50
|
|
added libtommath-0.21
|
|
0fe7a2d4
|
2003-06-08T20:09:10
|
|
added libtommath-0.20
|
|
ef490f30
|
2003-06-06T19:35:48
|
|
added libtommath-0.19
|
|
0ef44cea
|
2003-05-29T13:35:26
|
|
added libtommath-0.18
|
|
fd181cc8
|
2003-05-17T12:33:54
|
|
added libtommath-0.17
|
|
b1756f2f
|
2003-03-22T15:10:20
|
|
added libtommath-0.15
|
|
82f48582
|
2003-03-13T02:11:11
|
|
added libtommath-0.14
|
|
b66471f7
|
2003-02-28T16:09:08
|
|
added libtommath-0.13
|
|
57354e11
|
2003-02-28T16:08:34
|
|
added libtommath-0.12
|
|
fb93a30a
|
2003-02-28T16:07:32
|
|
added libtommath-0.10
|
|
40c00add
|
2003-02-28T16:06:56
|
|
added libtommath-0.09
|
|
2cfbb891
|
2003-02-28T16:06:22
|
|
added libtommath-0.08
|