We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 5e76435 commit 9c20c31Copy full SHA for 9c20c31
testcrate/tests/conv.rs
@@ -12,8 +12,6 @@ macro_rules! i_to_f {
12
};
13
}
14
15
-// `i686` targets fail with this for some reason.
16
-#[cfg(not(target_arch = "x86"))]
17
#[test]
18
fn int_to_float() {
19
use compiler_builtins::float::conv::{
@@ -22,13 +20,13 @@ fn int_to_float() {
22
20
23
21
24
i_to_f!(100,
+ i64, f32, __floatdisf;
25
u32, f32, __floatunsisf;
26
u32, f64, __floatunsidf;
27
i32, f32, __floatsisf;
28
i32, f64, __floatsidf;
29
u64, f32, __floatundisf;
30
u64, f64, __floatundidf;
31
- i64, f32, __floatdisf;
32
i64, f64, __floatdidf;
33
u128, f32, __floatuntisf;
34
u128, f64, __floatuntidf;
0 commit comments