Alex Dyachenko
|
b876961ff7
|
Implemented mixed int+rational. Need to refactor Int typeabbr.
|
2014-05-23 13:24:37 -04:00 |
|
Alex Dyachenko
|
30a5875cd9
|
Refactored AssignTo with macros to use type-distinct names for context overloads, so that mixed args can be assigned to the same context and integers can be assigned to different type args
|
2014-05-23 10:46:23 -04:00 |
|
Alex Dyachenko
|
597f2422a1
|
Rational Assignment from integer
|
2014-05-22 11:48:19 -04:00 |
|
Alex Dyachenko
|
f22660b71e
|
Assignment rational to int
|
2014-05-22 10:35:03 -04:00 |
|
Alex Dyachenko
|
0b21fa4efd
|
Rational canonicalize method.
|
2014-05-21 17:19:17 -04:00 |
|
Alex Dyachenko
|
260ba651ff
|
Rational IO completed
|
2014-05-21 17:08:40 -04:00 |
|
Alex Dyachenko
|
0dc8c29307
|
Updated and/or fixed more existing rational tests: comparison, construction, conversion, expression, comments. Updated rational XML comments.
|
2014-05-21 13:03:05 -04:00 |
|
Alex Dyachenko
|
1c50b141a6
|
Fixed rational conversions, constructor, assignment, arithmetic tests
|
2014-05-21 11:47:51 -04:00 |
|
Alex Dyachenko
|
7ffcfd1839
|
Updated existing assignment tests
|
2014-05-20 17:16:10 -04:00 |
|
Alex Dyachenko
|
24a0bed19d
|
Updated existing rational arithmetic tests
|
2014-05-20 17:15:58 -04:00 |
|
Alex Dyachenko
|
65ace72f31
|
Fixed int expressions test
|
2014-05-20 15:37:32 -04:00 |
|
Alex Dyachenko
|
4cf01038d5
|
Refactored unit test method names to be prefixed with the type
|
2014-05-20 15:37:16 -04:00 |
|
Alex Dyachenko
|
77b2c4a5eb
|
Refactor rational constructors and factory methods; all constructors auto-allocate, Allocate is a factory method. Updated rational construction tests.
|
2014-05-20 13:14:30 -04:00 |
|
Alex Dyachenko
|
097230002a
|
Refactor to make int constructors auto-allocating, and make Allocate a factory method.
|
2014-05-20 13:05:15 -04:00 |
|
Alex Dyachenko
|
eb5c0be34c
|
Added draft tests for rational. Global replace from int only. Need review for completeness, many tests failing.
|
2014-05-20 11:06:26 -04:00 |
|
Alex Dyachenko
|
9d079888dc
|
Added UI/SI +, -, *, / operators
|
2014-05-18 15:10:35 -04:00 |
|
Alex Dyachenko
|
9b9a575c2f
|
Added UI/SI/double comparisons
|
2014-05-18 14:37:40 -04:00 |
|
Alex Dyachenko
|
e0d9d023b2
|
More refactoring of various macros. Fleshed out most of the operation set for rationals, some UI/SI members commented to let the project build.
|
2014-05-16 16:52:05 -04:00 |
|
Alex Dyachenko
|
6e4af8e176
|
Major refactoring in preparation for adding the rational class. Broken build due to partial commit.
|
2014-05-10 15:30:45 -04:00 |
|
Alex Dyachenko
|
55e44923cf
|
Minimum compileable rational implementation
|
2014-05-05 21:11:28 -04:00 |
|
Alex Dyachenko
|
bc0cbe8621
|
Stubbed out a HugeRational class. Broken build: interfaces not yet implemented.
|
2014-05-05 21:10:24 -04:00 |
|
Alex Dyachenko
|
8db0846661
|
Refactored all Mpir***Expression classes to Integer***Expression
|
2014-05-05 13:40:43 -04:00 |
|
Alex Dyachenko
|
924a4b326d
|
Fibonacci and Lucas. MPIR 2.7.0 Section 5 (Integers) completed.
|
2014-05-05 13:22:47 -04:00 |
|
Alex Dyachenko
|
54802392db
|
Binomial
|
2014-05-05 12:43:18 -04:00 |
|
Alex Dyachenko
|
4d7063cb92
|
Primorial
|
2014-05-04 15:21:05 -04:00 |
|
Alex Dyachenko
|
dc5023bb4a
|
Factorial. Added a Value property getter to make compound operators possible.
|
2014-05-03 22:46:33 -04:00 |
|
Alex Dyachenko
|
7e422eaf19
|
Refactor of Power(Ui, Ui) to return an expression
|
2014-05-03 21:36:30 -04:00 |
|
Alex Dyachenko
|
8d18d39937
|
Added a from-expression constructor
|
2014-05-03 21:19:30 -04:00 |
|
Alex Dyachenko
|
d0370c472c
|
RemoveFactors
|
2014-05-02 16:44:31 -04:00 |
|
Alex Dyachenko
|
cb5954df40
|
Kronecker symbols
|
2014-05-02 15:30:30 -04:00 |
|
Alex Dyachenko
|
6ea5c7b08a
|
Jacobi and Legendre symbols
|
2014-05-02 15:07:27 -04:00 |
|
Alex Dyachenko
|
269d2f8145
|
Invert modulo
|
2014-05-02 15:06:57 -04:00 |
|
Alex Dyachenko
|
5dc400ff8f
|
LCM
|
2014-05-02 00:01:17 -04:00 |
|
Alex Dyachenko
|
a69ecaa52c
|
GCD
|
2014-05-01 19:46:51 -04:00 |
|
Alex Dyachenko
|
66dbec5d63
|
NextPrimeCandidate
|
2014-05-01 13:40:08 -04:00 |
|
Alex Dyachenko
|
8b547cc544
|
IsProbablePrime/IsLikelyPrime methods
|
2014-04-30 23:19:32 -04:00 |
|
Alex Dyachenko
|
77204b819e
|
Random integer generation - comleted MPIR 2.6.0 section 5.13.
|
2014-04-30 21:35:57 -04:00 |
|
Alex Dyachenko
|
e22246209f
|
MPIR 2.6.0 section 9 - random state init/seed/clear/generate_ui
|
2014-04-29 23:06:30 -04:00 |
|
Alex Dyachenko
|
e884839eec
|
Size and GetLimb. Completed MPIR 2.6.0 section 5.16.
|
2014-04-28 12:06:21 -04:00 |
|
Alex Dyachenko
|
aa93d2f13a
|
Auto-allocating version of the Export. Completed MPIR 2.6.0 section 5.14.
|
2014-04-28 11:37:09 -04:00 |
|
Alex Dyachenko
|
fa0939fbd3
|
Import/Export to limb data; todo: implement auto-allocation of export destination array.
|
2014-04-27 23:30:56 -04:00 |
|
Alex Dyachenko
|
c9ba616e58
|
Minor cleanup refactoring. Exposed a digit value table from GMP so it could be reused. Added a build event to solve the issue locking MPIR.Net assembly after test runs.
|
2014-04-26 15:40:07 -04:00 |
|
Alex Dyachenko
|
8c865f1277
|
Updated XML comments
|
2014-04-24 20:39:39 -04:00 |
|
Alex Dyachenko
|
adb5be1ece
|
String IO. Completed MPIR 2.6.0 section 5.12.
|
2014-04-23 20:44:37 -04:00 |
|
Alex Dyachenko
|
f4d3fd57d6
|
Merge branch 'master' of github.com:adyache/mpir
|
2014-04-12 00:04:31 -04:00 |
|
Alex Dyachenko
|
607caf6b7e
|
Raw binary IO. This necessitated some refactoring to the MPIR code.
|
2014-04-12 00:04:12 -04:00 |
|
Alex Dyachenko
|
248eb1c5dc
|
Raw binary IO. This necessitated some refactoring to the MPIR code.
|
2014-04-11 21:09:39 -04:00 |
|
Alex Dyachenko
|
2f5bbb1f80
|
Moved source files outside the Build.VC** dir
|
2014-04-07 21:15:40 -04:00 |
|