nandi/rustnimpublic Fork 0
0777223e3297e14f05bedeb07c87c7ff694732e2
Commits
Clone
git clone https://git.rickub.com/nandi/rustnim.git
git clone ssh://git@rickub.com/nandi/rustnim.git

Host key fingerprint (ed25519): SHA256:iycHnxEyq0Q7uyVpB7JlznP0G7JrTPXLYRcAU5CSLhc — verify it before your first connect.

Add the differential test runner, and a lowering to measure with it 8ac32af · on 0777223e3297e14f05bedeb07c87c7ff694732e2 · nandithebull · 21h ago
902-reject-float-to-int-cast.rs · 6 lines · 205 BRust Blame HistoryRaw
1
2
3
4
5
6
//@ reject: Rust saturates, Nim rounds
// Rust saturates float->int casts, Nim rounds and range-checks. Different
// operations, so no mapping is emitted.
fn main() {
    println!("{}", 1e10f64 as i32);
}