Commit Graph

14 Commits

Author SHA1 Message Date
Eugene Sandulenko
abea37c9bb
ALL: Update ScummVM project license to GPLv3+ 2021-12-26 18:48:43 +01:00
Bastien Bouclet
6a627e3e98 COMMON: Fix very noisy warning when building with GCC 9 in C++11 mode 2019-11-10 21:04:29 +01:00
Johannes Schickel
854e22b38b COMMON: Make GPL headers consistent in themselves. 2014-02-18 02:39:33 +01:00
Christoph Mallon
84220d2ca0 COMMON: Remove superfluous Common:: qualifiers. 2011-08-07 15:19:07 +02:00
strangerke
69b1485a22 GIT: Clean up: Suppress SVN tags, now useless 2011-05-12 01:16:22 +02:00
Max Horn
97bfd60e61 COMMON: Reduce overflow risk in Common::Rational += and -= operators
svn-id: r55839
2011-02-09 00:12:02 +00:00
Sven Hesse
a71f3aa99c COMMON: Fix int-Rational operators
svn-id: r52675
2010-09-11 10:03:31 +00:00
Willem Jan Palenstijn
8f1143bfdc COMMON: Remove Rational::operator int/double
This prevents accidental implicit rounding
and might also fix compilation on AmigaOS4 (bug #3060981).

svn-id: r52616
2010-09-07 09:02:46 +00:00
Matthew Hoops
df7158c0ee COMMON: Add a debugPrint function to Rational
svn-id: r52593
2010-09-06 14:59:13 +00:00
Matthew Hoops
a960ac66ce COMMON: Fix Rational::operator!=(int)
svn-id: r52535
2010-09-04 23:45:23 +00:00
Johannes Schickel
01070d72d3 Minor formatting.
svn-id: r49067
2010-05-17 22:17:42 +00:00
Max Horn
22caf0e1cf Get rid of Common::Rational::normalize and other redundant code
svn-id: r49066
2010-05-17 22:08:40 +00:00
Max Horn
00cd966f3d Some tweaks and fixes for Common::Rational
* 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
2010-05-17 22:07:58 +00:00
Matthew Hoops
811fc0e7ec Add the Common::Rational class from patch #2963496 (VideoDecoder Rewrite)
svn-id: r49061
2010-05-17 20:53:04 +00:00