Cronologia Commit

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