Daniel Mendler
4534056c28
use enums mp_err, mp_ord, mp_bool, mp_sign
...
* MP_USE_ENUMS enables enums
* Wc++-compat catches some implicit conversions if MP_USE_ENUMS is defined
* 100% backwards compatible API/ABI if MP_USE_ENUMS is not defined
2019-05-13 19:15:14 +02:00
Daniel Mendler
7365442ace
No grow necessary in mp_set_int* functions
...
* mp_set_int* always return MP_OKAY
* remove return checks for mp_set_int*
* introduce MP_MIN_PREC
2019-05-12 13:04:45 +02:00
Daniel Mendler
c4fb2241dc
rename macros in tommath_private to use MP_* prefix
2019-04-12 14:55:08 +02:00
Daniel Mendler
ff56140462
shorter headers
2019-04-07 17:26:31 +02:00
Daniel Mendler
70a30ae7a7
remove footers
2019-04-07 17:26:31 +02:00
Francois Perrad
b879bd495a
refactor with new macros IS_*
2019-02-02 07:39:23 +01:00
czurnieden
a428a6d5dc
reg. #143 corrected translation of mpz_fdiv_q_2exp
2018-12-30 22:11:55 +01:00
czurnieden
d65b6f40c0
reg. #143 corrected translation of mpz_fdiv_q_2exp
2018-12-30 22:09:12 +01:00
czurnieden
af29c51921
reg. #143 corrected translation of mpz_fdiv_q_2exp
2018-12-30 22:05:36 +01:00
Steffen Jaeckel
18355de625
Update file headers
...
[skip ci]
2018-12-29 17:56:20 +01:00
Francois Perrad
0f53ceb4cb
improve indentation
2018-12-26 09:08:12 +01:00
Francois Perrad
5d090112af
explicit operator precedence
2018-12-26 09:08:08 +01:00
Francois Perrad
8e76691203
explicit condition
2018-12-26 09:08:05 +01:00
Francois Perrad
7a9cb1d1e5
literal suffix
2018-12-26 09:08:02 +01:00
Francois Perrad
8dceba2e68
remove useless initialization
2018-12-26 09:07:48 +01:00
Steffen Jaeckel
3ed524048f
make astyle
+ some manual adjustments
2018-12-25 15:17:12 +01:00
Steffen Jaeckel
a79a7eda65
reverse order of arguments to mp_clear_multi()
2018-12-25 15:17:12 +01:00
czurnieden
09133c9349
additional bugfixes
2018-12-25 15:17:12 +01:00
czurnieden
3ec93dab9e
bugfix in bn_mp_kronecker.c, cleanup and formatting in div. files
2018-12-25 15:17:12 +01:00
czurnieden
f4449362c0
fixes for MP_8BIT and mx32, prefinal design
2018-12-25 15:17:12 +01:00
czurnieden
08cee4325d
Moved mp_mul_si() into bn_mp_prime_strong_lucas_selfridge.c as a local function
2018-12-25 15:17:03 +01:00
czurnieden
934dd31738
changes and bigfixes, see pull-request #113 at https://github.com/libtom/libtommath/pull/113 for details
2018-12-25 15:17:03 +01:00
czurnieden
06c8f3ec4e
replaced mp_set_int with mp_set_long, just in case
2018-12-25 15:17:03 +01:00
czurnieden
6ee0829d62
bugfix in bn_mp_mul_si. Ouch! strong Lucas_selfridge test switched back on
2018-12-25 15:17:03 +01:00
czurnieden
fdaad99b1b
make it compile with MP_8BIT
2018-12-25 15:17:03 +01:00
czurnieden
44ccca75be
the lost files from the last commit
2018-12-25 15:17:03 +01:00