Commit Graph

443 Commits

Author SHA1 Message Date
Francois Perrad
034cd1f444 explicit comparison 2018-11-28 10:53:48 +01:00
Francois Perrad
6f652de71e use literal float 2018-11-28 10:53:43 +01:00
Steffen Jaeckel
17f382c549 change C++ comments to C style 2018-11-26 12:32:05 +01:00
Steffen Jaeckel
fb884223e3
Merge pull request #123 from minad/additional-operations
add mp_get_double, mp_set_double
2018-11-26 12:26:15 +01:00
Daniel Mendler
81cdb9aca2
regenerate files 2018-11-22 12:05:16 +01:00
Daniel Mendler
2ab527b7e0
add mp_get_double, mp_set_double 2018-11-22 12:05:16 +01:00
Steffen Jaeckel
8b9f98baa1 auto-format
by executing `make astyle`
2018-09-23 21:37:58 +02:00
Steffen Jaeckel
05dea227be
Merge pull request #125 from fperrad/20180923_lint
two-complement: some linting
2018-09-23 21:31:27 +02:00
Francois Perrad
434dbcab27 refactor without bitwise operator 2018-09-23 10:41:30 +02:00
Francois Perrad
482cf1e128 explicit condition 2018-09-23 10:41:27 +02:00
Francois Perrad
519a1de8da literal with suffix 2018-09-23 10:41:23 +02:00
Francois Perrad
82cd2c7f37 use NULL instead of 0 2018-09-23 10:41:20 +02:00
Steffen Jaeckel
af3bc61ea2
Merge pull request #119 from libtom/pr/possible-fix-118
bn_fast_mp_invmod fix related to #118
2018-09-22 17:14:50 +02:00
Karel Miko
f1b9bbf593 bn_fast_mp_invmod fix related to #118 2018-09-22 16:37:03 +02:00
Steffen Jaeckel
a829b87b00 add testcase of #118 2018-09-22 16:36:56 +02:00
Steffen Jaeckel
cbe30703ef
Merge pull request #124 from minad/two-complement
add mp_complement, mp_tc_div_2d, mp_tc_and, mp_tc_or, mp_tc_xor
2018-09-22 16:21:50 +02:00
Daniel Mendler
109bfa57bf
regenerate files 2018-09-10 18:49:10 +02:00
Daniel Mendler
eebbcf0644
add mp_complement, mp_tc_div_2d, mp_tc_and, mp_tc_or, mp_tc_xor 2018-09-10 18:48:58 +02:00
Steffen Jaeckel
bc685fd4a5
Merge pull request #108 from ararslan/aa/freebsd
Make the build logic more robust for BSD systems
2018-06-10 23:34:19 +02:00
Alex Arslan
33870d7be2
Make the build logic more robust for BSD systems
This properly sets MAKE on BSDs to gmake rather than make, which refers
to the incompatible BSD Make. Further, it betters detection of Clang as
the default compiler, which is the case on FreeBSD 11.0+ and OpenBSD
6.0+, and it fixes the unrecognized call to arch on FreeBSD.
2018-06-10 14:09:37 -07:00
Steffen Jaeckel
c707ee22ad
Merge pull request #111 from fperrad/20180502_lint
more linting
2018-06-10 18:20:23 +02:00
Francois Perrad
bd4167e883 const mp_s_rmap 2018-06-04 18:29:47 +02:00
karel-m
f86aecf356
Merge pull request #116 from libtom/pr/better-MP_64BIT
improved detection of MP_64BIT
2018-06-04 07:02:53 +02:00
Karel Miko
92e8719b80 improved detection of MP_64BIT 2018-05-28 22:02:13 +02:00
Steffen Jaeckel
9f7e1a3cb2
Merge pull request #114 from orbea/libtool
makefile.shared: Respect LIBTOOL.
2018-05-20 14:21:15 +02:00
orbea
0a8a162669 makefile.shared: Respect LIBTOOL. 2018-05-19 07:11:49 -07:00
Steffen Jaeckel
06965eab71
Merge pull request #110 from czurnieden/develop
Do not use tommath.h from the system for building
2018-05-02 23:32:40 +02:00
czurnieden
22550d41ad Do not use tommath.h from the system for building 2018-05-02 22:01:09 +02:00
czurnieden
9034e712b8 Do not use installed headers for building 2018-05-02 21:43:17 +02:00
Steffen Jaeckel
71c5c8ac4b
Merge pull request #105 from libtom/fix/103
Fix #103
2018-05-01 20:57:43 +02:00
Steffen Jaeckel
ef6d85a1a6 don't use rand() in mp_rand()
This fixes #103
2018-04-23 22:31:59 +02:00
Steffen Jaeckel
baf3d5ee3c
Merge pull request #107 from libtom/improve/release
Improve release-process
2018-04-23 22:31:38 +02:00
Steffen Jaeckel
89f2bfea83 improve build
* don't export .travis.yml
* make 'astyle' on 'zipup'
2018-04-11 23:35:43 +02:00
Steffen Jaeckel
3994dc8610 auto-format bn_mp_radix_smap.c 2018-04-11 23:35:43 +02:00
Steffen Jaeckel
7781472696 generate pre_gen/mpi.c on zipup 2018-04-11 23:35:43 +02:00
Steffen Jaeckel
8028ebc268 remove pre_gen/mpi.c from repo 2018-04-11 23:35:43 +02:00
Steffen Jaeckel
337d05b7fa update README.md 2018-04-11 23:35:43 +02:00
Steffen Jaeckel
02d6192d5a
Merge pull request #106 from samcv/solaris-fix
Fix build on Solaris by using ERR_ instead of ERR
2018-04-11 23:04:55 +02:00
Samantha McVey
42970eb427
Fix build on Solaris by using LBL_ERR instead of ERR
libtommath won't build on Solaris 11.3 with a goto statement named
`ERR`. Use LBL_ERR instead so it doesn't conflict.
2018-04-11 13:46:35 -07:00
Steffen Jaeckel
651715b033
Merge pull request #101 from libtom/cleanup
Fix&clean-up some things
2018-03-26 22:04:07 +02:00
Michael Shigorin
0bc755139c add e2k/lcc support 2018-02-27 23:30:43 +01:00
Steffen Jaeckel
ee241c95e6 fix makefile.msvc
This fixes #74
2018-02-27 23:30:43 +01:00
Steffen Jaeckel
1a00b42c47 add fixme-check to zipup make-target 2018-02-27 23:30:43 +01:00
Steffen Jaeckel
f51249b6aa clean-up file headers 2018-02-27 23:30:43 +01:00
Steffen Jaeckel
f9536dcdc2 update results when running the timing demo 2018-02-27 23:30:43 +01:00
Steffen Jaeckel
bf61c0be58 fix timing & logs/*.png generation 2018-02-27 23:30:43 +01:00
Steffen Jaeckel
82376cb19b format output of timing demo 2018-02-27 23:30:43 +01:00
Steffen Jaeckel
c69c3907c3 rename timing demo 2018-02-27 23:30:43 +01:00
Steffen Jaeckel
db1a8b1919
Merge pull request #102 from fperrad/20180202_lint
more linting
2018-02-27 23:27:45 +01:00
Francois Perrad
802d8294db fix type & cast 2018-02-13 19:04:31 +01:00