summary refs log tree commit diff stats
path: root/lib/pure/rationals.nim
Commit message (Expand)AuthorAgeFilesLines
* made test green for 32bit systemAraq2016-09-301-1/+1
* Fix toRational overflow by calculating internally with int64s (fixes #4194)def2016-05-221-11/+11
* Fixed a typo in proc `-`(x: T, y: Rational[T])pgkos2016-03-181-1/+1
* Add toRational(float) conversion from any float to closestJamesP2015-10-041-0/+62
* add a few type checks to limit type to SomeIntegerJamesP2015-10-011-3/+3
* add assertion for zero denominatorJamesP2015-10-011-0/+1
* lib: Trim .nim files trailing whitespaceAdam Strzelecki2015-09-041-1/+1
* lib/pure/p-t - Dropped 'T' from typespdw2015-06-041-2/+2
* Merge pull request #2486 from endragor/rational-hashAndreas Rumpf2015-04-081-0/+14
|\
| * Added hash proc for RationalRuslan Mustakov2015-04-081-0/+14
* | Added procvar pragma to rationals.cmpRuslan Mustakov2015-04-081-1/+1
|/
* Fix toRationaldef2015-04-071-2/+2
* Add for rationalsdef2015-02-271-0/+4
* Add for easier intialization of rationalsdef2015-02-271-26/+32
* Make Rational an objectdef2015-02-241-31/+36
* Make rationals genericdef2015-02-201-28/+33
* Fix typodef2015-02-191-1/+1
* Change author of rationals moduledef2015-02-191-1/+1
* Update toInt docdef2015-02-161-2/+2
* Fix division and add testsdef2015-02-161-15/+42
* Change rationals.toInt behaviourdef2015-02-161-4/+4
* Move rational.nim to rationals.nimdef2015-02-161-0/+228
a id='n270' href='#n270'>270 271 272 273 274 275 276 277 278 279 280 281 282 283 284 285 286 287 288 289 290 291 292 293 294 295 296 297 298 299 300 301 302 303 304 305 306 307 308 309 310 311 312 313 314 315 316 317 318 319 320 321 322 323 324 325 326 327 328 329 330 331 332 333 334 335 336 337 338