Age | Commit message (Collapse) | Author |
|
For SCI engine games, ratios may not be normalised and so to avoid
extra scaling, there needs to be a way to simply check whether a
ratio is 1:1.
|
|
svn-id: r55839
|
|
Specifically, the bugs in operators - and / for mixed Rational/int args,
fixed in rev #52675, are tested for.
svn-id: r52680
|
|
This tests for the bug fixed by r52535, among other things.
svn-id: r52617
|
|
svn-id: r49065
|
|
* Fix Common::gcd to work with negative input
* This fixes a bug in Common::Rational's multiplication code
* Add some more basic unit tests (including one which checks for
the now fixed multiplication bug)
* cleanup
svn-id: r49064
|
|
also courtesy of DrMcCoy who wrote the main Common::Rational class too
svn-id: r49062
|