Commit Graph

30 Commits

Author SHA1 Message Date
Francois Perrad
6ce271c4db mp_iseven & mp_isodd becomes C functions 2019-02-02 07:39:23 +01:00
Francois Perrad
b879bd495a refactor with new macros IS_* 2019-02-02 07:39:23 +01:00
Francois Perrad
487cbba03c refactor without macro mp_isneg 2019-02-02 07:39:23 +01:00
Steffen Jaeckel
c93afda118 run make new_file 2019-01-15 17:05:39 +01:00
czurnieden
08eb995d01 implemented Steffen Jaeckels superior suggestion regarding MoarVM's problem 2019-01-15 16:59:57 +01:00
Steffen Jaeckel
18355de625 Update file headers
[skip ci]
2018-12-29 17:56:20 +01:00
czurnieden
3ec93dab9e bugfix in bn_mp_kronecker.c, cleanup and formatting in div. files 2018-12-25 15:17:12 +01:00
Steffen Jaeckel
4f245b0476 Update makefiles etc. 2018-12-25 15:17:12 +01:00
Karel Miko
0493739d2b add missing comments 2018-12-02 13:10:09 +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
Daniel Mendler
81cdb9aca2
regenerate files 2018-11-22 12:05:16 +01:00
Daniel Mendler
109bfa57bf
regenerate files 2018-09-10 18:49:10 +02:00
Francois Perrad
82a2d385db refactor indentation of preprocessor directives 2017-08-30 20:09:16 +02:00
Steffen Jaeckel
49e5432060 update tommath_class.h 2017-08-28 17:04:18 +02:00
Steffen Jaeckel
3ab918e7ea update tommath_class.h 2017-04-09 01:04:07 +02:00
Steffen Jaeckel
1f8894790b update makefiles etc. 2015-10-30 18:04:33 -04:00
Steffen Jaeckel
d4cccd52d1 udpate makefiles etc. 2014-12-10 18:59:56 +01:00
Steffen Jaeckel
cf04521695 update makefiles etc. 2014-12-10 17:21:14 +01:00
Steffen Jaeckel
d71719853a update after removing balance multiplication 2014-10-18 18:56:56 +02:00
Steffen Jaeckel
b425b0ea1f Revert "balancing multiplication like that in Ruby 1.9"
This reverts commit e68439aae1.

Conflicts:
	bn_mp_balance_mul.c
	makefile
2014-10-18 18:54:06 +02:00
Steffen Jaeckel
52cfd5ff0a mp_n_root: add mp_n_root_ex() with parameter 'fast' for mp_expt_d_ex()
This change is introduced to be able to choose the underlying
implementation of mp_expt_d_ex()

The implementation of the root_n functionality is now implemented in the
mp_n_root_ex() function.

The parameter 'fast' is just passed over to mp_expt_d_ex().

mp_n_root() defaults to the pre 921be35779
implementation
2014-09-28 13:33:59 +02:00
Steffen Jaeckel
e9b1837c8c mp_expt_d: bring back pre 921be35779 state
The implementation of the expt_d functionality is now implemented in the
mp_expt_d_ex() function.

The user can now choose between the old (more timing resistant) version
and the new version by modification of the parameter 'fast'.

mp_expt_d() defaults to the old version
2014-09-28 13:33:59 +02:00
Steffen Jaeckel
c82028641f add missing updates 2014-01-22 17:53:34 +01:00
lomereiter
e68439aae1 balancing multiplication like that in Ruby 1.9 2013-11-24 15:34:41 +01:00
Christopher Brown
3e1ae07821 added mp_import / mp_export 2013-11-24 03:59:06 +01:00
Tom St Denis
9294e79150 added libtommath-0.36 2010-07-15 17:25:56 +02:00
Tom St Denis
fdfa2f4f50 added libtommath-0.35 2010-07-15 17:25:53 +02:00
Tom St Denis
3d0fcaab0a added libtommath-0.34 2010-07-15 17:25:51 +02:00
Tom St Denis
4b7111d96e added libtommath-0.33 2010-07-15 17:25:49 +02:00
Tom St Denis
e549ccfec5 added libtommath-0.32 2010-07-15 17:25:47 +02:00