File tree 3 files changed +5
-0
lines changed
3 files changed +5
-0
lines changed Original file line number Diff line number Diff line change 9
9
//! encounter. The randomized fuzz testing is specially designed to cover wide swaths of search
10
10
//! space in as few iterations as possible. See `fuzz_values` in `testcrate/tests/misc.rs` for an
11
11
//! example.
12
+ //!
13
+ //! Some floating point tests are only enabled on x86_64, because many other targets do not have
14
+ //! correct rounding.
12
15
#![ no_std]
13
16
14
17
use compiler_builtins:: float:: Float ;
Original file line number Diff line number Diff line change @@ -91,6 +91,7 @@ macro_rules! float_sum {
91
91
} ;
92
92
}
93
93
94
+ #[ cfg( target_arch = "x86_64" ) ]
94
95
#[ test]
95
96
fn float_addsub ( ) {
96
97
use compiler_builtins:: float:: {
Original file line number Diff line number Diff line change @@ -12,6 +12,7 @@ macro_rules! i_to_f {
12
12
} ;
13
13
}
14
14
15
+ #[ cfg( target_arch = "x86_64" ) ]
15
16
#[ test]
16
17
fn int_to_float ( ) {
17
18
use compiler_builtins:: float:: conv:: {
You can’t perform that action at this time.
0 commit comments