Commit Graph

120 Commits

Author SHA1 Message Date
Alex Dyachenko
f29fb594a5 Initial rough addition of the float type. IO ops don't build, tests to be added. 2014-05-27 13:30:13 -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
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
8b547cc544 IsProbablePrime/IsLikelyPrime methods 2014-04-30 23:19:32 -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
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
607caf6b7e Raw binary IO. This necessitated some refactoring to the MPIR code. 2014-04-12 00:04:12 -04:00
Alex Dyachenko
2f5bbb1f80 Moved source files outside the Build.VC** dir 2014-04-07 21:15:40 -04:00
Alex Dyachenko
7d6ec7f711 Size checks from MPIR 2.6.0 section 5.15. 2014-04-06 13:28:13 -04:00
Alex Dyachenko
df532c5b28 Completed remaining bitwise operations in MPIR 2.6.0 section 5.11. 2014-04-04 16:08:54 -04:00
Alex Dyachenko
27015ad9ee Some XML comments updated 2014-04-03 21:10:16 -04:00
Alex Dyachenko
f8c66cfd03 Merge branch 'master' of github.com:wbhart/mpir into pull-from-gladman 2014-04-03 15:03:00 -04:00
Alex Dyachenko
221d50827a ToString truncation. Improved IN_CONTEXT macro. Resolved to dos. 2014-04-03 12:47:40 -04:00
Alex Dyachenko
ab48b8a31e Caught up on XML comments for all public classes and members so far. Some refactoring around ToString() and context usage. 2014-04-02 13:31:46 -04:00
BrianGladman
7df57b3aa2 Simplify defines for building DLLs with Visual Studio 2014-04-02 14:14:47 +01:00
Alex Dyachenko
4aee5e74e2 XML comments for assignments 2014-04-01 21:22:13 -04:00
Alex Dyachenko
11b818a563 XML comments on HugeInt construction and disposal members 2014-04-01 17:13:15 -04:00
Alex Dyachenko
9874a21fcf XML comments on expression builder methods 2014-04-01 15:49:01 -04:00
Alex Dyachenko
838e236559 XML comments on equality interface implementations; made expression constructors internal 2014-04-01 14:41:36 -04:00
Alex Dyachenko
5d4c2a779b XML comments for comparison operators 2014-04-01 14:01:15 -04:00
Alex Dyachenko
2a4ca855e9 XML comments for the arithmetic and logical operations 2014-04-01 13:31:57 -04:00
Alex Dyachenko
ce490c0057 Unrolled macros from operator declarations in preparation for adding XML comments 2014-04-01 12:32:02 -04:00
Alex Dyachenko
6d4ae354d0 Stubbed out more XML comments to flesh out the XML doc file schema, added a comments test. 2014-03-31 20:50:15 -04:00
BrianGladman
053a6cd91a copy GCC tuning values over to Windows 2014-04-01 00:35:49 +01:00
BrianGladman
7768e4758b Correct build errors reported by Jeff Gilchrist and update readme.txt file for VS 2013 2014-03-31 21:34:02 +01:00
Alex Dyachenko
735f191a6e Bitwise operations 2014-03-31 12:39:06 -04:00
Alex Dyachenko
d62b5e8914 Updated assignment from string 2014-03-31 12:08:48 -04:00
Alex Dyachenko
64ca2d882c Sign. Completed MPIR 2.6.0 section 5.10. 2014-03-31 11:04:54 -04:00
Alex Dyachenko
21ae3a5035 CompareAbs 2014-03-31 10:56:04 -04:00
Alex Dyachenko
07e5b92984 Added missing tests for CompareTo with primitives 2014-03-31 10:32:32 -04:00
Alex Dyachenko
ef91db3970 Proof of concept XML comments. Generated & used by intellisense, but no compiler warning in C++ for missing comments. 2014-03-31 10:19:24 -04:00
Alex Dyachenko
65a71fb197 Fixed compiler warnings 2014-03-31 09:48:11 -04:00
Alex Dyachenko
255e337c8e GetHashCode 2014-03-31 09:27:02 -04:00
Alex Dyachenko
d08e3ac478 Equals and equality operators 2014-03-31 00:05:40 -04:00
Alex Dyachenko
d38395dbb8 Comparisons with double 2014-03-30 21:38:20 -04:00
Alex Dyachenko
8746c7e591 Comparison operators with a signed limb 2014-03-30 21:32:05 -04:00
Alex Dyachenko
939a03e85f Comparison operators with a limb 2014-03-30 21:27:02 -04:00
Alex Dyachenko
32fe79d006 Comparison operator overloads 2014-03-29 21:39:30 -04:00
Alex Dyachenko
a57ee69a3a IComparable implementation 2014-03-29 21:08:42 -04:00
BrianGladman
6673ab9079 update all Visual Studio builds for latest name changes 2014-03-28 18:05:00 +00:00
BrianGladman
1f13a0f477 tuning plus cosmetic change to mpir_config.py 2014-03-28 17:05:47 +00:00
Alex Dyachenko
df92d4c9f3 Merge branch 'pull-from-gladman' 2014-03-27 17:24:06 -04:00
BrianGladman
20aa9a4c9e Update Visual Studio 2012 builds and simply tune builds for VS2012 and VS2013 2014-03-27 21:13:19 +00:00
Alex Dyachenko
53c9c6f852 Merge branch 'master' of github.com:BrianGladman/mpir into pull-from-gladman 2014-03-27 16:55:32 -04:00
BrianGladman
8b361bfd87 Change Windows builds to keep configuration data in the build directories rather than the mpn directories 2014-03-27 15:58:13 +00:00
BrianGladman
1d29a50b58 Further update to VS 2012 builds 2014-03-27 12:12:25 +00:00
BrianGladman
a940cd48a0 remove deleted tests from Windows builds 2014-03-27 11:42:28 +00:00
BrianGladman
93bdb53fbb update VS 2012 builds and correct bug in mpn_sqr_basecase 2014-03-27 11:34:56 +00:00