We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent e96a8a8 commit 0079f13Copy full SHA for 0079f13
builtins-test/benches/float_cmp.rs
@@ -14,9 +14,9 @@ fn gt_res_eq(mut a: CmpResult, mut b: CmpResult) -> bool {
14
// This can be removed once a version of `compiler-builtins` with the return type fix makes
15
// it upstream.
16
dbg!(a, b, size_of::<CmpResult>());
17
- if size_of::<CmpResult>() == 64 {
18
- a = (a as u32 as i32) as CmpResult;
19
- b = (b as u32 as i32) as CmpResult;
+ if size_of::<CmpResult>() == 8 {
+ a = a as i32 as CmpResult;
+ b = b as i32 as CmpResult;
20
}
21
22
let a_lt_0 = a <= 0;
0 commit comments