Historia zmian

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