Commit History

Autor SHA1 Mensaxe Data
  Koki Fushimi 3027ca292c Support `div`, `mod`, floorDiv and floorMod for Rationals (#7918) %!s(int64=6) %!d(string=hai) anos
  Sergey Avseyev 8941f5bd9c Use safe limit for toRational(float, int) (#7021) %!s(int64=7) %!d(string=hai) anos
  konqoro 6315c641be Make toRational proc to loop through integers (#6633) %!s(int64=7) %!d(string=hai) anos
  Andreas Rumpf 280dae0ffb make tests green again %!s(int64=7) %!d(string=hai) anos
  Andreas Rumpf 90c1b94fbe rationals.toRational now uses an algorithm based on continued fractions; refs #4968 %!s(int64=7) %!d(string=hai) anos
  Araq 6c022f4500 made test green for 32bit system %!s(int64=8) %!d(string=hai) anos
  def 834ad57d94 Fix toRational overflow by calculating internally with int64s (fixes #4194) %!s(int64=8) %!d(string=hai) anos
  pgkos ef889a1009 Fixed a typo in proc `-`(x: T, y: Rational[T]) %!s(int64=8) %!d(string=hai) anos
  JamesP 77d4788655 Add toRational(float) conversion from any float to closest %!s(int64=9) %!d(string=hai) anos
  JamesP 2f4cc4efce add a few type checks to limit type to SomeInteger %!s(int64=9) %!d(string=hai) anos
  JamesP d6b7f0ad9e add assertion for zero denominator %!s(int64=9) %!d(string=hai) anos
  Adam Strzelecki 43bddf62dd lib: Trim .nim files trailing whitespace %!s(int64=9) %!d(string=hai) anos
  pdw d18e18060e lib/pure/p-t - Dropped 'T' from types %!s(int64=9) %!d(string=hai) anos
  Andreas Rumpf dfc3f9dcd7 Merge pull request #2486 from endragor/rational-hash %!s(int64=9) %!d(string=hai) anos
  Ruslan Mustakov 35f5ac2811 Added procvar pragma to rationals.cmp %!s(int64=9) %!d(string=hai) anos
  Ruslan Mustakov 46e6fd4fa9 Added hash proc for Rational %!s(int64=9) %!d(string=hai) anos
  def bba2f7b0f1 Fix toRational %!s(int64=9) %!d(string=hai) anos
  def 4dbb582311 Add for rationals %!s(int64=10) %!d(string=hai) anos
  def 75959a0fb3 Add for easier intialization of rationals %!s(int64=10) %!d(string=hai) anos
  def 77f506bd70 Make Rational an object %!s(int64=10) %!d(string=hai) anos
  def f710a31344 Make rationals generic %!s(int64=10) %!d(string=hai) anos
  def f6c83c32f3 Fix typo %!s(int64=10) %!d(string=hai) anos
  def c377e6883c Change author of rationals module %!s(int64=10) %!d(string=hai) anos
  def 2d004dd677 Update toInt doc %!s(int64=10) %!d(string=hai) anos
  def 444beab5dd Fix division and add tests %!s(int64=10) %!d(string=hai) anos
  def a85b6fd3fe Change rationals.toInt behaviour %!s(int64=10) %!d(string=hai) anos
  def aa4d119e8c Move rational.nim to rationals.nim %!s(int64=10) %!d(string=hai) anos