aboutsummaryrefslogtreecommitdiff
path: root/dotnet/Mammoth/Couscous/java/math
diff options
context:
space:
mode:
authorMichael Williamson <mike@zwobble.org>2016-06-04 16:03:56 +0100
committerMichael Williamson <mike@zwobble.org>2016-06-04 16:03:56 +0100
commit45e530dceda42282fae56b4c4f5fa7865f57899d (patch)
tree685868f4bf78c64e851cbcdafd674e887bc782a5 /dotnet/Mammoth/Couscous/java/math
parentb5a83b1cb96d410e325ff8b733d550295376d8c7 (diff)
Remove dotnet (use submodule from dotnet repo instead)
Diffstat (limited to 'dotnet/Mammoth/Couscous/java/math')
-rw-r--r--dotnet/Mammoth/Couscous/java/math/BigInteger.cs24
1 files changed, 0 insertions, 24 deletions
diff --git a/dotnet/Mammoth/Couscous/java/math/BigInteger.cs b/dotnet/Mammoth/Couscous/java/math/BigInteger.cs
deleted file mode 100644
index 40ac3d3..0000000
--- a/dotnet/Mammoth/Couscous/java/math/BigInteger.cs
+++ /dev/null
@@ -1,24 +0,0 @@
-namespace Mammoth.Couscous.java.math {
- internal class BigInteger {
- internal static readonly BigInteger _ONE = new BigInteger(1);
-
- // TOOD: use proper BigInteger
- private readonly long _value;
-
- internal BigInteger(string value) {
- _value = long.Parse(value);
- }
-
- internal BigInteger(long value) {
- _value = value;
- }
-
- internal BigInteger subtract(BigInteger other) {
- return new BigInteger(_value - other._value);
- }
-
- internal string toString() {
- return _value.ToString();
- }
- }
-}