Commit Graph

13 Commits

Author SHA1 Message Date
Francois Perrad
8b2daf7817 always use varname err with mp_err 2019-05-20 05:36:18 +02:00
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
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
487cbba03c refactor without macro mp_isneg 2019-02-02 07:39:23 +01:00
Steffen Jaeckel
18355de625 Update file headers
[skip ci]
2018-12-29 17:56:20 +01:00
Francois Perrad
4fec1ae6f2 remove side effect inside parameter of macro MAX 2018-12-27 09:44:29 +01: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
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