Undefined Behavior - PDOS-MIT

1 / 0 → trap (gcc/x86); 1 / 0 → no trap (gcc/ppc, clang/any). UB allows generating efficient code. x / y: on ppc (no hardware div trap); If division by zero is defined ...
展开查看详情