Commit Graph

521 Commits

Author SHA1 Message Date
Karel Miko
862234b968 genlist.sh and parsenames.pl are not needed anymore (replaced by helper.pl) 2018-12-02 18:35:01 +01:00
Karel Miko
0329e828ae drop broken (not working) makefile.cygwin_dll 2018-12-02 18:28:59 +01:00
Karel Miko
8e4edf76d5 drop makefile.bcc+makefile.icc in favour of makefile.unix 2018-12-02 18:27:05 +01:00
Karel Miko
4b85095405 fix cygwin build 2018-12-02 17:56:10 +01:00
Karel Miko
fc4b7f8008 update makefile.msvc 2018-12-02 15:11:10 +01:00
Karel Miko
2c07579f7d add makefile.mingw 2018-12-02 14:59:05 +01:00
Karel Miko
3c69b8851d update .gitignore to the new MSVC build style 2018-12-02 14:47:16 +01:00
Karel Miko
159e5b3c6b update MSVC .sln file 2018-12-02 14:42:41 +01:00
Karel Miko
be93943e52 drop visual studio 2005 support 2018-12-02 14:32:48 +01:00
Karel Miko
934ee69bc0 update MSVC project file libtommath_VS2008.vcproj 2018-12-02 14:32:08 +01:00
Karel Miko
c852d5abe6 replace updatemakes.sh+filter.pl with updatemakes.sh+helper.pl 2018-12-02 14:27:53 +01:00
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