Advertisement
Pythorian

Simple modulus

Sep 10th, 2014
224
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C 0.06 KB | None | 0 0
  1. float mod(float a, float b)
  2. {
  3.     return a – b * (a / b);
  4. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement