Quote:
Originally Posted by 1075guy
There's definitely a modulus division operator, which amounts to the same thing.
719 % 360 = 359
|
Right, but it rounds the same as fmod() (see
http://www.gnu.org/software/libc/man...Functions.html). I don't have enough experience to say when this would be more or less useful in practice, but if you DO need it extern "C" seems to be the way to go about it.