Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

modified readme

  • Loading branch information...
commit fd78a5e9ae743a59843dfe3e142ea741df60660d 1 parent 01ad2fa
@C-o-r-E authored
Showing with 25 additions and 0 deletions.
  1. +25 −0 README.md
View
25 README.md
@@ -1,5 +1,8 @@
# COMP 345 Assignment 3 -- megaint
+Authors: Corey Clayton (9349200) and Tavish Armstrong (9276254)
+March, 2012
+
The `megaint` class can store an arbitrarily large integral number, similarly to the Integer type in haskell. It can do addition, subtraction, multiplication, exponentiation, and can be output to a stream.
## Examples
@@ -14,3 +17,25 @@ The `megaint` class can store an arbitrarily large integral number, similarly to
## Implementation notes
`megaint` is pretty basic. It simply stores a `vector` of type `bool`, where each bool is a bit in the number. That is, `megaint` runs on base 2.
+
+Important: There was no requirement to use base 10 numbers. It was also explicitly stated that we can deal in the realm of positive integers only.
+
+--> if you have difficulty reading the larger binary numbers (313 ^ 313), try doing a mathematical proof.
+ example: (313 ^ 313) == (313 ^ 312) * 313
+
+
+### Corey
+
+ Linux 3.2.9-1
+ gcc version 4.6.3
+ GNU Emacs 23.4.1
+
+### Tavish
+
+ Linux 3.0.0-16-generic
+ gcc version 4.6.1 (Ubuntu/Linaro 4.6.1-9ubuntu3)
+ VIM - Vi IMproved 7.3 (2010 Aug 15, compiled Oct 6 2011 10:34:41)
+
+## Build Instructions
+
+ Simply run "make"
Please sign in to comment.
Something went wrong with that request. Please try again.