Commit Graph

460 Commits

Author SHA1 Message Date
Karel Miko
a16f34f97e re-sort OBJECTS in makefile* 2018-12-02 13:58:50 +01:00
Karel Miko
a9cc9d119b add makefile.unix 2018-12-02 13:54:55 +01:00
Karel Miko
f4ed78dce7 replaces TABs with spaces 2018-12-02 13:16:44 +01:00
Karel Miko
c9f1a0023f remove trailing spaces 2018-12-02 13:13:48 +01:00
Karel Miko
d7f124f563 avoid c++ comments 2018-12-02 13:12:30 +01:00
Karel Miko
0493739d2b add missing comments 2018-12-02 13:10:09 +01:00
Steffen Jaeckel
0fb29ef1b2
Merge pull request #127 from mikhailnov/develop
Fix includes
2018-12-01 15:47:31 +01:00
Mikhail Novosyolov
adbadc70f4 Fix includes
Header files which are located in the same directory that the file from where it is included must be included using `" "`, not `< >`.
Otherwise the compiler (gcc 5) cannot understand `#include <tommath_class.h>` in `/usr/include/tommath/tommath.h`.
2018-12-01 15:27:40 +01:00
Steffen Jaeckel
285b580995
Merge pull request #129 from fperrad/20181201_lint
more linting
2018-12-01 15:26:35 +01:00
Francois Perrad
4d6a3cdc93 handle the last value of res 2018-12-01 08:39:54 +01:00
Francois Perrad
d7b7dfee53 explicit cast 2018-12-01 08:39:51 +01:00
Steffen Jaeckel
6d4026d582
Merge pull request #128 from fperrad/20181128_lint
some linting
2018-11-28 12:16:20 +01:00
Francois Perrad
f186e7bd83 bitwise operation on unsigned 2018-11-28 10:54:02 +01:00
Francois Perrad
d1b52524f1 explicit operator precedence 2018-11-28 10:53:57 +01:00
Francois Perrad
39a15fca7f use NULL instead of 0 2018-11-28 10:53:55 +01:00
Francois Perrad
70af503a6e literal suffix 2018-11-28 10:53:53 +01:00
Francois Perrad
e9b85f9372 rename parameter as in prototype 2018-11-28 10:53:50 +01:00
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