|
> Main reason: % always gives a non-negative result, even for negative x,I'm going to have to think a bit to see when I'd want that, but that is a good point in that it's another argument that they are different operations.
> whereas fmod(x,y) gives a result of the same sign as x.