Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse code

modified readme

  • Loading branch information...
commit fd78a5e9ae743a59843dfe3e142ea741df60660d 1 parent 01ad2fa
Corey C authored

Showing 1 changed file with 25 additions and 0 deletions. Show diff stats Hide diff stats

  1. +25 0 README.md
25 README.md
Source Rendered
... ... @@ -1,5 +1,8 @@
1 1 # COMP 345 Assignment 3 -- megaint
2 2
  3 +Authors: Corey Clayton (9349200) and Tavish Armstrong (9276254)
  4 +March, 2012
  5 +
3 6 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.
4 7
5 8 ## Examples
@@ -14,3 +17,25 @@ The `megaint` class can store an arbitrarily large integral number, similarly to
14 17 ## Implementation notes
15 18
16 19 `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.
  20 +
  21 +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.
  22 +
  23 +--> if you have difficulty reading the larger binary numbers (313 ^ 313), try doing a mathematical proof.
  24 + example: (313 ^ 313) == (313 ^ 312) * 313
  25 +
  26 +
  27 +### Corey
  28 +
  29 + Linux 3.2.9-1
  30 + gcc version 4.6.3
  31 + GNU Emacs 23.4.1
  32 +
  33 +### Tavish
  34 +
  35 + Linux 3.0.0-16-generic
  36 + gcc version 4.6.1 (Ubuntu/Linaro 4.6.1-9ubuntu3)
  37 + VIM - Vi IMproved 7.3 (2010 Aug 15, compiled Oct 6 2011 10:34:41)
  38 +
  39 +## Build Instructions
  40 +
  41 + Simply run "make"

0 comments on commit fd78a5e

Please sign in to comment.
Something went wrong with that request. Please try again.