Commit Graph

86 Commits

Author SHA1 Message Date
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
Alex Dyachenko
df92d4c9f3 Merge branch 'pull-from-gladman' 2014-03-27 17:24:06 -04: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
BrianGladman
738c8f9987 Merge branch 'master' of https://github.com/wbhart/mpir
Conflicts:
	mpn/x86_64w/sqr_basecase.asm
2014-03-27 11:24:34 +00:00
Alex Dyachenko
ec83dbf28d Merge branch 'master' of github.com:BrianGladman/mpir into pull-from-gladman 2014-03-26 20:49:19 -04:00
Alex Dyachenko
e55f80c391 Switched to gc build for testing for now. Root is still broken. 2014-03-26 20:48:42 -04:00
Alex Dyachenko
daea13c7ba IsPerfectPower/Square. Completed MPIR 2.6.0 section 5.8. 2014-03-26 17:24:23 -04:00
BrianGladman
41171b367a Adjust Windows builds for filename changes; correct error in sqr_basecase.asm; fix Windows build errors in DEBUG mode 2014-03-26 20:19:54 +00:00
Alex Dyachenko
82cd99b396 Roots. GMP/MPIR bug found in NthRoot, broken test. 2014-03-26 15:31:54 -04:00
Alex Dyachenko
a881ae86af Constructor from limb ^ limb. Completed MPIR 2.6.0 section 5.7 (except broken tests from unresolved MPIR references) 2014-03-25 14:59:26 -04:00
Alex Dyachenko
a3ce259087 Power operator 2014-03-25 14:52:39 -04:00
Alex Dyachenko
6c0f864a94 PowerMod. 2 broken tests; (mpz, mpz, mpz) overload stubbed out because mpz_powm causes unresolved externals in MPIR. 2014-03-25 11:19:58 -04:00
Alex Dyachenko
081e5d91d1 Div 2exp remainder 2014-03-25 09:18:17 -04:00
Alex Dyachenko
eef0731e9d Shift right 2014-03-24 21:22:18 -04:00
Alex Dyachenko
23f9f2b38b Congruent. Completed MPIR 2.6.0 Sections 5.1 - 5.6, except assignments from MPQ or MPF. 2014-03-24 16:02:31 -04:00
Alex Dyachenko
7cef951b28 IsDivisible 2014-03-24 15:29:33 -04:00
Alex Dyachenko
5af65890cb DivideExactly. 2014-03-24 15:08:11 -04:00
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
bf41b35092 Merge branch 'master' of github.com:BrianGladman/mpir into pull-from-gladman 2014-03-23 10:33:06 -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