rust/library/core
Trevor Spiteri 4ec0377d6a for signed overflowing remainder, delay comparing lhs with MIN
Since the wrapped remainder is going to be 0 for all cases when the rhs is -1,
there is no need to divide in this case. Comparing the lhs with MIN is only done
for the overflow bool. In particular, this results in better code generation for
wrapping remainder, which discards the overflow bool completely.
2021-10-05 15:15:24 +02:00
..
benches benchmark for str.chars().count() 2021-09-11 00:25:41 +02:00
primitive_docs Add primitive documentation to libcore 2021-09-12 02:23:08 +00:00
src for signed overflowing remainder, delay comparing lhs with MIN 2021-10-05 15:15:24 +02:00
tests Rollup merge of #87091 - the8472:more-advance-by-impls, r=joshtriplett 2021-10-04 13:58:07 -07:00
Cargo.toml rfc3052: Remove authors field from Cargo manifests 2021-07-29 14:56:05 -07:00