Skip to content

Rational cleaning

Dan Eble requested to merge dev/eble/rational-cleaning into master
  1. real.hh: remove unnecessary #includes
  2. Remove unused and untested Rational::abs()
  3. compare(a, b) rather than (a - b).sign()
  4. Remove Rational::sign() and add signbit(Rational) (more detail in commit message)
  5. Treat Rational(0, 0) as not-a-number

Merge request reports