Added some more mathematical functions
commitfb14d66877dc7799670af606705059ed896fd0ec
authorFrank Erens <seysayux@users.sourceforge.net>
Fri, 2 Oct 2009 15:17:23 +0000 (2 17:17 +0200)
committerFrank Erens <seysayux@users.sourceforge.net>
Fri, 2 Oct 2009 15:17:23 +0000 (2 17:17 +0200)
tree120b38d52968f63163ea998023c200070a0017ae
parentdfbc3f13d0810166df86a57eb44aae36550a4bb1
Added some more mathematical functions

* abs: correctly returns unsigned values (for complaining compilers)
* sign: returns 1 for x > 0, 0 for x == 0 and -1 for x < 0
src/Sylph/Core/Util.h