14 September 2020

Housekeeping Here are some things to be aware of.

BigFraction

This is a case study on extended-precision rational arithmetic. We will build an API for this in class. At the same time, you should build the API for Vector3D. You will implement the interface IVector3D. Do not change this; I will be compiling your code against my master copy. It is best to code up the corresponding pieces as we go through BigFraction.

Extended precision arithemetic (methods)
    add
    multiply
    divide
    subtract
    powers  
    abs
    intValue ("cast" to integer)
    max
    min
    negate
    remainder
    signum
    pow (int n)
    toString
    equals

What does a BigFraction need to KNOW?

    numerator  
    denominator
    These will be immutable.