summaryrefslogtreecommitdiff
path: root/include/libcss/fpmath.h
Commit message (Collapse)AuthorAgeFilesLines
* Fixed point: Squash undefined shift error.Michael Drake2018-07-281-1/+1
| | | | /include/libcss/fpmath.h:86:29: runtime error: left shift of negative value -1
* Fixed point: Squash undefined left shift of -ve value error.Michael Drake2018-07-281-1/+1
| | | | include/libcss/fpmath.h:60:27: runtime error: left shift of negative value -2611200
* Strip trailing whitespace.Michael Drake2017-09-041-18/+18
|
* Add "96" to useful DPI values. (CSS pixels are 1/96 inch.)Michael Drake2015-08-051-0/+1
|
* Explicitly narrow resultJohn Mark Bell2011-09-061-1/+1
| | | | svn path=/trunk/libcss/; revision=12769
* Saturated maths in css fixed point Vincent Sanders2011-03-121-17/+105
| | | | svn path=/trunk/libcss/; revision=11975
* Sprinkle some C++ scoping aroundJohn Mark Bell2010-10-231-0/+9
| | | | svn path=/trunk/libcss/; revision=10901
* Force use of 64bit arithmetic when multiplying/dividing.John Mark Bell2009-07-051-2/+2
| | | | svn path=/trunk/libcss/; revision=8318
* Fix castJohn Mark Bell2009-06-281-1/+1
| | | | svn path=/trunk/libcss/; revision=8091
* Make fpmath stuff public.John Mark Bell2009-02-141-0/+61
Un-inline string->fixed conversion routine. svn path=/trunk/libcss/; revision=6513