5 ms·
Your arithmetic is being optimized out by the compiler; https://ideone.com/KmTSUB https://ideone.com/KmTSUB crashes for example.
by lauraura 12y ago
Your arithmetic is being optimized out by the compiler; https://ideone.com/KmTSUB https://ideone.com/KmTSUB crashes for example.
- e12e 12y agoLooks like you're right (re my sibling comment above): $ gcc -std=c99 -S intmin.c -o intmin.s $ clang -std=c99 -S intmin.c -o intmin.sc $ grep -i div intmin.s* intmin.sc: idivl %esi (No idivl in the gcc version)