Commit Graph
81 Commits
Author SHA1 Message Date
Rodrigo Kumpera 6cc928e075 Add regression test for #674120 2011-02-28 14:55:50 +01:00
Rodrigo Kumpera f69a63ecdb Handle CompareTo(long) and huge numbers.
* BigInteger.cs (CompareTo): Handle numbers
	larger than 64bits.

	Fixes #674120
2011-02-28 14:55:49 +01:00
Miguel de Icaza 38253abf8c Add solution files 2011-02-12 22:09:49 -05:00
Marek Safar bd05c6c836 Some .net 4.0 api compatibility fixes 2010-12-15 11:12:07 +00:00
Raja R Harinath cd51491631 Fix a few cases of mixed line-endings
This is a scripted conversion of mixed line-ending files to LF-only or CRLF-only
based on which patch is smaller.  I used a threshold of upto a quarter of the
lines to determine whether to keep the patch or not.
2010-07-26 02:20:13 +05:30
Raja R Harinath b293948fb7 EOL handling
This set of .gitattributes was automatically generated from the list of files
that GIT tried to normalize when I enabled automatic EOL conversion.

With this set of attributes, we prevent automated EOL conversion on files that
we know will cause trouble down the road.
2010-07-25 20:17:39 +05:30
Jb Evain 55284eb83a 2010-07-12 Jb Evain <[email protected]>
* Complex.cs: implement IFormattable.


svn path=/trunk/mcs/; revision=160241
2010-07-12 12:09:52 +00:00
Jb Evain 5476e948bd 2010-07-08 Jb Evain <[email protected]>
* Complex.cs: implement the different ToString overrides.


svn path=/trunk/mcs/; revision=160043
2010-07-08 10:35:27 +00:00
Jb Evain 7c2eea4585 2010-07-08 Jb Evain <[email protected]>
* Complex.cs: Fix Phase. Implement Acos, Asin, Atan, Exp,
	Log, Log10, Pow and Sqrt.


svn path=/trunk/mcs/; revision=160039
2010-07-08 10:22:16 +00:00
Marek Safar feffd90d26 2010-04-23 Marek Safar <[email protected]>
* Complex.cs: Add explicit BigInteger operator.


svn path=/trunk/mcs/; revision=156011
2010-04-23 14:53:17 +00:00
Rodrigo Kumpera c769706386 2010-03-06 Rodrigo Kumpera <[email protected]>
* BigIntegerTest.cs: Tests for decimal stuff.

svn path=/trunk/mcs/; revision=153216
2010-03-07 00:09:31 +00:00
Rodrigo Kumpera b480a743b2 2010-03-06 Rodrigo Kumpera <[email protected]>
* BigInteger.cs: Simply Parse/TryParse.

svn path=/trunk/mcs/; revision=153215
2010-03-07 00:09:22 +00:00
Rodrigo Kumpera 9253128c3b 2010-03-06 Rodrigo Kumpera <[email protected]>
* BigIntegerTest.cs: Tests for decimal stuff.

svn path=/trunk/mcs/; revision=153214
2010-03-07 00:09:14 +00:00
Rodrigo Kumpera e9bc58fd47 2010-03-06 Rodrigo Kumpera <[email protected]>
* BigInteger.cs: Add decimal operators/ctor.

svn path=/trunk/mcs/; revision=153213
2010-03-07 00:09:05 +00:00
Rodrigo Kumpera 54400da9e1 2010-03-06 Rodrigo Kumpera <[email protected]>
* BigInteger.cs: Float/double coersion operators.

svn path=/trunk/mcs/; revision=153212
2010-03-07 00:08:54 +00:00
Rodrigo Kumpera 654dfa2528 2010-03-06 Rodrigo Kumpera <[email protected]>
* BigIntegerTest.cs: Tests for remaining ToString
	overloads

svn path=/trunk/mcs/; revision=153207
2010-03-06 20:45:54 +00:00
Rodrigo Kumpera 1d61fe35a1 2010-03-06 Rodrigo Kumpera <[email protected]>
* BigInteger.cs: Remaining ToString overloads.

svn path=/trunk/mcs/; revision=153206
2010-03-06 20:45:45 +00:00
Rodrigo Kumpera 2a44b353d2 2010-03-06 Rodrigo Kumpera <[email protected]>
* BigIntegerTest.cs: Tests for ToString and
	ToString(string).

svn path=/trunk/mcs/; revision=153205
2010-03-06 20:45:37 +00:00
Rodrigo Kumpera e9612cb348 2010-03-06 Rodrigo Kumpera <[email protected]>
* BigInteger.cs: double and float coersion ops.
	ToString() and ToString(string).

svn path=/trunk/mcs/; revision=153204
2010-03-06 20:45:29 +00:00
Rodrigo Kumpera 292e944fe2 2010-03-06 Rodrigo Kumpera <[email protected]>
* BigIntegerTest.cs: Tests for .ctor(double).

svn path=/trunk/mcs/; revision=153203
2010-03-06 20:45:20 +00:00
Rodrigo Kumpera 133b8b75b7 2010-03-06 Rodrigo Kumpera <[email protected]>
* BigInteger.cs: .ctor(double) and .ctor(float).

svn path=/trunk/mcs/; revision=153202
2010-03-06 20:45:12 +00:00
Rodrigo Kumpera 73298c9491 2010-03-06 Rodrigo Kumpera <[email protected]>
* BigIntegerTest.cs: Tests for Log.

svn path=/trunk/mcs/; revision=153193
2010-03-06 17:35:15 +00:00
Rodrigo Kumpera 6e52bf1b8b 2010-03-06 Rodrigo Kumpera <[email protected]>
* BigInteger.cs: Log.

svn path=/trunk/mcs/; revision=153192
2010-03-06 17:35:06 +00:00
Rodrigo Kumpera d370edbd2d 2010-03-06 Rodrigo Kumpera <[email protected]>
* BigIntegerTest.cs: Tests for GreatestCommonDivisor.

svn path=/trunk/mcs/; revision=153191
2010-03-06 17:34:58 +00:00
Rodrigo Kumpera fdeb697cde 2010-03-06 Rodrigo Kumpera <[email protected]>
* BigInteger.cs: GreatestCommonDivisor.

svn path=/trunk/mcs/; revision=153190
2010-03-06 17:34:50 +00:00
Rodrigo Kumpera 93c2e51b55 2010-03-06 Rodrigo Kumpera <[email protected]>
* BigIntegerTest.cs: Tests for ModPow.

svn path=/trunk/mcs/; revision=153189
2010-03-06 17:34:41 +00:00
Rodrigo Kumpera 90a4818c4e 2010-03-06 Rodrigo Kumpera <[email protected]>
* BigInteger.cs: ModPow.

svn path=/trunk/mcs/; revision=153188
2010-03-06 17:34:33 +00:00
Rodrigo Kumpera 1e65f4094e 2010-03-06 Rodrigo Kumpera <[email protected]>
* BigIntegerTest.cs: Tests for Pow.

svn path=/trunk/mcs/; revision=153187
2010-03-06 17:34:25 +00:00
Rodrigo Kumpera da90218bf9 2010-03-06 Rodrigo Kumpera <[email protected]>
* BigInteger.cs: / % Pow.

svn path=/trunk/mcs/; revision=153186
2010-03-06 17:34:16 +00:00
Rodrigo Kumpera c7f01922d6 2010-03-06 Rodrigo Kumpera <[email protected]>
* BigIntegerTest.cs: Tests for DivRem.

svn path=/trunk/mcs/; revision=153178
2010-03-06 15:41:18 +00:00
Rodrigo Kumpera b730d3ea0a 2010-03-06 Rodrigo Kumpera <[email protected]>
* BigInteger.cs: DivRem.

svn path=/trunk/mcs/; revision=153177
2010-03-06 15:41:10 +00:00
Rodrigo Kumpera b07f3c2378 2010-03-05 Rodrigo Kumpera <[email protected]>
* BigInteger.cs: Simplify Mul.

svn path=/trunk/mcs/; revision=153176
2010-03-06 15:41:02 +00:00
Rodrigo Kumpera 6eeb8bfbac 2010-03-05 Rodrigo Kumpera <[email protected]>
* BigIntegerTest.cs: Tests for Mul.

svn path=/trunk/mcs/; revision=153175
2010-03-06 15:40:54 +00:00
Rodrigo Kumpera d63d699812 2010-03-05 Rodrigo Kumpera <[email protected]>
* BigInteger.cs: Mul.

svn path=/trunk/mcs/; revision=153174
2010-03-06 15:40:38 +00:00
Rodrigo Kumpera 130b9c8007 2010-03-05 Rodrigo Kumpera <[email protected]>
* BigIntegerTest.cs: Tests for coersion operators
	for short.

svn path=/trunk/mcs/; revision=153163
2010-03-06 00:24:44 +00:00
Rodrigo Kumpera eaba7d4270 2010-03-05 Rodrigo Kumpera <[email protected]>
* BigInteger.cs: coersion operators for short, ushort,
	byte and sbyte.

svn path=/trunk/mcs/; revision=153162
2010-03-06 00:24:35 +00:00
Rodrigo Kumpera 712d0ccf65 2010-03-05 Rodrigo Kumpera <[email protected]>
* BigIntegerTest.cs: Tests for << >>.

svn path=/trunk/mcs/; revision=153159
2010-03-05 23:44:44 +00:00
Rodrigo Kumpera 2bfb89398c 2010-03-05 Rodrigo Kumpera <[email protected]>
* BigInteger.cs: <<, >>.

svn path=/trunk/mcs/; revision=153158
2010-03-05 23:44:36 +00:00
Rodrigo Kumpera 7228b351bd 2010-03-05 Rodrigo Kumpera <[email protected]>
* BigIntegerTest.cs: Tests for | & ^ ~.

svn path=/trunk/mcs/; revision=153157
2010-03-05 23:44:28 +00:00
Rodrigo Kumpera 546acd9654 2010-03-05 Rodrigo Kumpera <[email protected]>
* BigInteger.cs: | & ^ ~.

svn path=/trunk/mcs/; revision=153156
2010-03-05 23:44:20 +00:00
Rodrigo Kumpera 0689c58066 2010-03-05 Rodrigo Kumpera <[email protected]>
* BigIntegerTest.cs: Tests for ++, --.

svn path=/trunk/mcs/; revision=153155
2010-03-05 23:44:11 +00:00
Rodrigo Kumpera 5ab4b0ecc5 2010-03-05 Rodrigo Kumpera <[email protected]>
* BigInteger.cs: ++ --, unary +.

svn path=/trunk/mcs/; revision=153154
2010-03-05 23:44:03 +00:00
Rodrigo Kumpera 0b2790f7fa 2010-03-05 Rodrigo Kumpera <[email protected]>
* BigIntegerTest.cs: Tests for Abs.

svn path=/trunk/mcs/; revision=153153
2010-03-05 23:43:55 +00:00
Rodrigo Kumpera d888fe755c 2010-03-05 Rodrigo Kumpera <[email protected]>
* BigInteger.cs: Abs.

svn path=/trunk/mcs/; revision=153152
2010-03-05 23:43:46 +00:00
Rodrigo Kumpera a922b71189 2010-03-05 Rodrigo Kumpera <[email protected]>
* BigIntegerTest.cs: Tests for Min, Max.

svn path=/trunk/mcs/; revision=153151
2010-03-05 23:43:38 +00:00
Rodrigo Kumpera f027760cc6 2010-03-05 Rodrigo Kumpera <[email protected]>
* BigInteger.cs: Min, Max.

svn path=/trunk/mcs/; revision=153150
2010-03-05 23:43:30 +00:00
Rodrigo Kumpera 6104afd4a4 2010-03-05 Rodrigo Kumpera <[email protected]>
* BigIntegerTest.cs: Tests for Negate.

svn path=/trunk/mcs/; revision=153149
2010-03-05 23:43:21 +00:00
Rodrigo Kumpera 5600acd2fa 2010-03-05 Rodrigo Kumpera <[email protected]>
* BigInteger.cs: Negate.

svn path=/trunk/mcs/; revision=153148
2010-03-05 23:43:13 +00:00
Rodrigo Kumpera e98c0257a5 2010-03-05 Rodrigo Kumpera <[email protected]>
* BigIntegerTest.cs: Tests for Sub.

svn path=/trunk/mcs/; revision=153147
2010-03-05 23:43:05 +00:00
Rodrigo Kumpera 92e6275cfb 2010-03-05 Rodrigo Kumpera <[email protected]>
* BigInteger.cs: Sub.

svn path=/trunk/mcs/; revision=153146
2010-03-05 23:42:56 +00:00