From eb886d65a3b5e3d1aea2d57058124694fca5b522 Mon Sep 17 00:00:00 2001 From: iramch Date: Tue, 30 Apr 2019 22:15:18 +0200 Subject: [PATCH] Update page 'Int underlying data type' --- Int-underlying-data-type.md | 10 ++++++++++ 1 file changed, 10 insertions(+) create mode 100644 Int-underlying-data-type.md diff --git a/Int-underlying-data-type.md b/Int-underlying-data-type.md new file mode 100644 index 0000000..022849c --- /dev/null +++ b/Int-underlying-data-type.md @@ -0,0 +1,10 @@ +The first thing when starting to condsider is the underlying data type of BigInt. +``` +struct BigInt { + magnitude: Vec, + postive: bool, + } + +``` + +This will work for nicely for the first two opperations addition and subtration. Both have O(n^2) and Schoolbook carry works well \ No newline at end of file