File tree Expand file tree Collapse file tree 5 files changed +5
-2
lines changed Expand file tree Collapse file tree 5 files changed +5
-2
lines changed Original file line number Diff line number Diff line change @@ -14,6 +14,7 @@ pub mod trunc;
1414
1515public_test_dep ! {
1616/// Trait for some basic operations on floats
17+ #[ allow( dead_code) ]
1718pub ( crate ) trait Float :
1819 Copy
1920 + core:: fmt:: Debug
Original file line number Diff line number Diff line change @@ -13,6 +13,7 @@ pub use self::leading_zeros::__clzsi2;
1313
1414public_test_dep ! {
1515/// Trait for some basic operations on integers
16+ #[ allow( dead_code) ]
1617pub ( crate ) trait Int :
1718 Copy
1819 + core:: fmt:: Debug
Original file line number Diff line number Diff line change 11#![ allow( unused_macros) ]
22
3+ #[ cfg( not( target_arch = "powerpc64" ) ) ]
34use testcrate:: * ;
45
56macro_rules! cmp {
Original file line number Diff line number Diff line change @@ -155,7 +155,7 @@ macro_rules! conv {
155155 stringify!( $fn)
156156 ) ;
157157 }
158- } ) ;
158+ } )
159159 } ;
160160}
161161
Original file line number Diff line number Diff line change 11// makes configuration easier
22#![ allow( unused_macros) ]
33
4- use compiler_builtins:: float:: Float ;
54use testcrate:: * ;
65
76/// Make sure that the the edge case tester and randomized tester don't break, and list examples of
@@ -138,6 +137,7 @@ macro_rules! pow {
138137#[ test]
139138fn float_pow ( ) {
140139 use compiler_builtins:: float:: pow:: { __powidf2, __powisf2} ;
140+ use compiler_builtins:: float:: Float ;
141141
142142 pow ! (
143143 f32 , 1e-4 , __powisf2;
You can’t perform that action at this time.
0 commit comments