Post #436051
2026-02-19 14:38 UTC
Rust's signed remainder functions will panic on `iN::MIN % -1` due to "implementation artifacts" even though it could return `0`. Does anyone here know what those implementation artifacts are?
https://doc.rust-lang.org/stable/std/primitive.i8.html#method.strict_rem
#rust #rustlang
Replies (0)
No replies.