Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | made test green for 32bit system | Araq | 2016-09-30 | 1 | -1/+1 |
| | |||||
* | Fix toRational overflow by calculating internally with int64s (fixes #4194) | def | 2016-05-22 | 1 | -11/+11 |
| | |||||
* | Fixed a typo in proc `-`(x: T, y: Rational[T]) | pgkos | 2016-03-18 | 1 | -1/+1 |
| | |||||
* | Add toRational(float) conversion from any float to closest | JamesP | 2015-10-04 | 1 | -0/+62 |
| | | | | approx for specified precision | ||||
* | add a few type checks to limit type to SomeInteger | JamesP | 2015-10-01 | 1 | -3/+3 |
| | | | | | | (adding a compund type to the Rational type definition made it too difficult to define new variables using integer literals) | ||||
* | add assertion for zero denominator | JamesP | 2015-10-01 | 1 | -0/+1 |
| | |||||
* | lib: Trim .nim files trailing whitespace | Adam Strzelecki | 2015-09-04 | 1 | -1/+1 |
| | | | | via OSX: find . -name '*.nim' -exec sed -i '' -E 's/[[:space:]]+$//' {} + | ||||
* | lib/pure/p-t - Dropped 'T' from types | pdw | 2015-06-04 | 1 | -2/+2 |
| | |||||
* | Merge pull request #2486 from endragor/rational-hash | Andreas Rumpf | 2015-04-08 | 1 | -0/+14 |
|\ | | | | | Add hash proc for Rational | ||||
| * | Added hash proc for Rational | Ruslan Mustakov | 2015-04-08 | 1 | -0/+14 |
| | | |||||
* | | Added procvar pragma to rationals.cmp | Ruslan Mustakov | 2015-04-08 | 1 | -1/+1 |
|/ | |||||
* | Fix toRational | def | 2015-04-07 | 1 | -2/+2 |
| | |||||
* | Add for rationals | def | 2015-02-27 | 1 | -0/+4 |
| | |||||
* | Add for easier intialization of rationals | def | 2015-02-27 | 1 | -26/+32 |
| | |||||
* | Make Rational an object | def | 2015-02-24 | 1 | -31/+36 |
| | |||||
* | Make rationals generic | def | 2015-02-20 | 1 | -28/+33 |
| | |||||
* | Fix typo | def | 2015-02-19 | 1 | -1/+1 |
| | |||||
* | Change author of rationals module | def | 2015-02-19 | 1 | -1/+1 |
| | |||||
* | Update toInt doc | def | 2015-02-16 | 1 | -2/+2 |
| | |||||
* | Fix division and add tests | def | 2015-02-16 | 1 | -15/+42 |
| | |||||
* | Change rationals.toInt behaviour | def | 2015-02-16 | 1 | -4/+4 |
| | |||||
* | Move rational.nim to rationals.nim | def | 2015-02-16 | 1 | -0/+228 |