Does the standard say "round down" or truncate on Integer division?
Example under my GCC, 5/2 = 2
Edit: 11/4 also gives 2; so, my GCC truncates.
Code:#include <stdio.h> #include <stdlib.h> int main() { printf("result := %d\n", 5/2); return 0; }Code:result := 2