This initially showed up in rusti, but compilation with JIT causes issues as well. Given the following program
fn main() {
let f: f64 = -50 as f64;
println(a.signum().to_str());
}
$ rustc -Z jit signum.rs
1
This does not occur when compiling with LLVM. My OS is OSX 10.8 and my architecture is x86-64.
This initially showed up in rusti, but compilation with JIT causes issues as well. Given the following program
This does not occur when compiling with LLVM. My OS is OSX 10.8 and my architecture is x86-64.