What represents Math.IEEERemainder(x,y) in C++?
+1. Answers to the effect of "use the modulus operator" miss the point that modulus is not the same operation as fmod.
John Feminella
2009-12-28 23:21:49
It takes 18 characters to express in C# what C++ can say in four. It's like an allegory.
Crashworks
2009-12-28 23:34:55
@Crashworks: Indeed. C# uses 18 characters to clearly express intent, while C++ mumbles what sounds like a curse.
Michael Petrotta
2009-12-28 23:39:54
Except that `Remainder` expresses what the function does much better than `fmod`. EDIT: Ninja'd by Michael.
GMan
2009-12-28 23:40:08