Commit Graph

53 Commits

Author SHA1 Message Date
Alex Dyachenko
ca6a17320f To double with separate exponent. Completed MPIR 2.6.0 section 5.4. 2014-03-24 00:04:42 -04:00
Alex Dyachenko
b4940574c0 Swap. Completed MPIR 2.6.0 section 5.2, except setting MPZ from MPQ or MPF 2014-03-24 00:04:35 -04:00
Alex Dyachenko
fc6bfb6f4a Setting from string 2014-03-23 23:39:32 -04:00
Alex Dyachenko
6c0b1be123 Refeactored conversions from properties to methods 2014-03-23 23:29:30 -04:00
Alex Dyachenko
e48241dc4b Conversion to/from double 2014-03-23 17:37:00 -04:00
Alex Dyachenko
f349fdc1c0 Conversion to/from si 2014-03-23 15:11:57 -04:00
Alex Dyachenko
3f87799456 conversions to/from ui 2014-03-23 15:08:30 -04:00
Alex Dyachenko
c6303e07cf Truncating construction from double. Completed MPIR 2.6.0 section 5.3. 2014-03-23 14:27:12 -04:00
Alex Dyachenko
000fe6d996 Reallocation. Completed MPIR 2.6.0 section 5.1. 2014-03-23 14:16:56 -04:00
Alex Dyachenko
066eabbd4e Mod limb function 2014-03-22 21:11:01 -04:00
Alex Dyachenko
8762324509 Mod by limb 2014-03-22 14:52:05 -04:00
Alex Dyachenko
f4b5744594 Divide by limb 2014-03-21 23:02:15 -04:00
Alex Dyachenko
897ee95734 Test organization 2014-03-21 20:54:17 -04:00
Alex Dyachenko
fe3ab92a0f Refactored (and simplified) the set of expressions by consolidating Int and Expr 2014-03-21 20:41:11 -04:00
Alex Dyachenko
96bb014dc2 Refactored AssignTo destination to be an MP struct pointer 2014-03-20 11:49:47 -04:00
Alex Dyachenko
9d13471fd1 Refactored expressions for division. Added / and % operators 2014-03-20 11:49:18 -04:00
Alex Dyachenko
14d119b9c6 Completed macros for unary operators and void functions, implemented Abs, Neg 2014-03-19 11:03:07 -04:00
Alex Dyachenko
087b50b40a New test to make sure all expression types are covered. Made AssignTo internal. 2014-03-19 10:04:45 -04:00
Alex Dyachenko
ea860e05cb Introduced operators on expressions. Heavy refactoring of expressions and operators. 2014-03-19 09:36:10 -04:00
Alex Dyachenko
c6434c61b3 Refactored to use the more straightforward, but perhaps slightly slower, double allocation 2014-03-15 20:51:02 -04:00
Alex Dyachenko
8f6e3bc004 Neg & Abs. Clean-up, minor refactoring, code comments.
Conversion of arithmetic methods to operators & expressions complete.
Now just need to implement expression recursion.
2014-03-15 08:26:26 -04:00
Alex Dyachenko
becdb61f45 Left shift 2014-03-15 08:24:21 -04:00
Alex Dyachenko
f471ef0ebc Inlined operator overloads 2014-03-14 14:14:05 -04:00
Alex Dyachenko
74923af477 Added submul and signed-limb overloads of addmul/submul 2014-03-14 14:03:16 -04:00
Alex Dyachenko
59a9d5ddd9 Added addmul and addmul_ui 2014-03-14 12:28:53 -04:00
Alex Dyachenko
d94c45cb85 Added subtraction from signed limb. Made expression operands internal. 2014-03-14 12:26:05 -04:00
Alex Dyachenko
e87d1d843f Signed limb addition 2014-03-13 23:20:25 -04:00
Alex Dyachenko
a446def092 Some macros supporting operator definitions. Added multiplication. 2014-03-13 22:55:33 -04:00
Alex Dyachenko
a20b0e5033 Updated readme 2014-03-13 21:03:50 -04:00
Alex Dyachenko
ab714af065 Changed operators to use exact expr types. Some clean-up. 2014-03-13 20:50:05 -04:00
Alex Dyachenko
562c4693e1 Added + operator and refactored for expressions 2014-03-13 15:46:55 -04:00
Alex Dyachenko
91b3be8adb Fixed tests after refactoring storage 2014-03-10 13:28:50 -04:00
Alex Dyachenko
0f5735f713 Added custom allocation functions and refactored HugeInt's private storage 2014-03-10 11:33:42 -04:00
Alex Dyachenko
fefec86544 More arithmetics methods 2014-03-06 22:34:16 -05:00
Alex Dyachenko
c60cfabf1e Refactorings in the Add Test spell 2014-03-06 09:55:47 -05:00
Alex Dyachenko
ce16f47866 Fixed how projects are built in each configuration 2014-03-06 09:17:03 -05:00
Alex Dyachenko
7b73582244 Added a Magic Spells project and a spell to help generate unit tests. 2014-03-05 23:06:47 -05:00
Alex Dyachenko
1b725238cc Started arithmetic and object override methods 2014-03-04 21:08:50 -05:00
Alex Dyachenko
d27fb70161 String constructors 2014-03-03 23:08:36 -05:00
Alex Dyachenko
019d1e3a64 Started the projects, created HugeInt class, constructors/destructors 2014-03-03 17:18:06 -05:00
Alex Dyachenko
fec31d65f6 Fixed location of sqr_basecase.asm 2014-02-28 22:48:40 -05:00
BrianGladman
6f884d522b minor changes to the Windows readme.txt and the Python Windows build generator 2013-12-21 18:32:07 +00:00
briangladman
48d48a58d3 change name of mpz_next_likely_prime to mpz_next_prime_candidate 2013-09-02 15:10:16 +01:00
briangladman
7e6fb463b4 remove YASM build customisation for Visual Studio C only projects 2013-08-30 11:47:28 +01:00
Brian Gladman
8a30e2081f revert last change to Visual Studio build 2013-07-20 19:04:46 +01:00
Brian Gladman
6618290d50 remove 'multi-byte' character setting from Visual Studio builds 2013-07-20 17:12:55 +01:00
Brian Gladman
7761d8ee31 test of git repo update (no real change) 2013-04-18 23:36:04 +01:00
Brian Gladman
f85231351f minor cosmetic changes to the Windows build files 2013-04-16 10:18:17 +01:00
Brian Gladman
ed045b82fa remove file not needed in the repository 2013-03-30 16:57:25 +00:00
Brian Gladman
b669e937e6 Minor Visual Studio build change 2013-03-26 22:52:46 +00:00