wip
wip
wip
Added RationalNumber concrete class to Number.
wip
wip
useful little big trig example/test
fix pow(BigDecimal, BigDecimal) test
add roots of unity to complex
Merge branch 'topic/bigint-trig' into 2.10.0
Typo fixed.
Merge pull request #126 from kamushin/2.10.0

Typo fixed.
remove unnecessary pow call
Introduce support for fixed-point arithmetic.

This commit introduces the FixedPoint value class, which uses raw Long
values to encode fractions with a fixed base. The denominator is
provided using an implicit FixedScale instance.

  import spire.math._

  implicit val scale = FixedScale(1000000000)

  // apply is the usual factory constructor, whereas new will
  // directly construct a fixed point value.
	 val a = FixedPoint(scala.math.Pi)
  val b = new FixedPoint(3141592653L)

  a == b // these values are equal

Unlike normal Long values, FixedPoint values will throw errors on
overflow. This means that using FixedPoint values with FixedScale(1)
just adds overflow checking to "normal" Long values. While powers of
10 are probably the most obvious kind of fixed point denominator,
any positive Int denominator is valid.

Using FixedPoint values should not normally cause any allocations,
although in some edge cases SafeLong may be used temporarily.
Merge pull request #127 from non/topic/fixed-point

Topic/fixed point
More efficient call to .isWhole.
fix merge conflict
get project compiling and tests passing
fix bigint eq bug in test
fix bigint eq bug in test