c3c
c3c copied to clipboard
Compile time fmod evaluates to 0
float f = 3.25;
io::printn(f % 1.0); // Prints 0.25
io::printn(3.25 % 1.0); // Prints 0
// assert(3.25 % 1.0 == 0.25); // Error: This expression will always be 'false'
Should be fixed in both branches.
Looks good.