rationals.toRational now uses an algorithm based on continued fractions; refs #4968

This commit is contained in:
Andreas Rumpf 2017-10-30 08:54:43 +01:00
commit 90c1b94fbe
2 changed files with 36 additions and 45 deletions

View file

@ -31,3 +31,7 @@
- ``mod`` and bitwise ``and`` do not produce ``range`` subtypes anymore. This
turned out to be more harmful than helpful and the language is simpler
without this special typing rule.
- Added ``algorithm.rotateLeft``.
- ``rationals.toRational`` now uses an algorithm based on continued fractions.
This means its results are more precise and it can run into an infinite loop
anymore.