Using short-circuiting operators makes it easier to perform some kinds of source code analysis, like MC/DC code coverage (a requirement in safety-critical environments). The optimized x86_64 assembly is the same between the old and new versions: ``` mov eax, edi add dl, -1 sbb eax, esi setb dl ret ``` |
||
|---|---|---|
| .. | ||
| dec2flt | ||
| flt2dec | ||
| shells | ||
| bignum.rs | ||
| diy_float.rs | ||
| error.rs | ||
| f32.rs | ||
| f64.rs | ||
| fmt.rs | ||
| int_log10.rs | ||
| int_macros.rs | ||
| mod.rs | ||
| nonzero.rs | ||
| saturating.rs | ||
| uint_macros.rs | ||
| wrapping.rs | ||