@@ -185,10 +185,10 @@ macro_rules! numeric_api {
185185 $crate:: num:: $incl:: <$sample_typ>(
186186 runner,
187187 self . start. into( ) ,
188- :: core :: $typ:: MAX . into( ) ,
188+ < $typ> :: MAX . into( ) ,
189189 )
190190 . into( ) ,
191- :: core :: $typ:: MAX ,
191+ < $typ> :: MAX ,
192192 ) )
193193 }
194194 }
@@ -199,10 +199,10 @@ macro_rules! numeric_api {
199199
200200 fn new_tree( & self , runner: & mut TestRunner ) -> NewTree <Self > {
201201 Ok ( BinarySearch :: new_clamped(
202- :: core :: $typ:: MIN ,
202+ < $typ> :: MIN ,
203203 $crate:: num:: $uniform:: <$sample_typ>(
204204 runner,
205- :: core :: $typ:: MIN . into( ) ,
205+ < $typ> :: MIN . into( ) ,
206206 self . end. into( ) ,
207207 )
208208 . into( ) ,
@@ -217,10 +217,10 @@ macro_rules! numeric_api {
217217
218218 fn new_tree( & self , runner: & mut TestRunner ) -> NewTree <Self > {
219219 Ok ( BinarySearch :: new_clamped(
220- :: core :: $typ:: MIN ,
220+ < $typ> :: MIN ,
221221 $crate:: num:: $incl:: <$sample_typ>(
222222 runner,
223- :: core :: $typ:: MIN . into( ) ,
223+ < $typ> :: MIN . into( ) ,
224224 self . end. into( ) ,
225225 )
226226 . into( ) ,
@@ -718,7 +718,7 @@ macro_rules! float_any {
718718 // signalling bit. Assume the `NAN` constant is a quiet NaN as
719719 // interpreted by the hardware and generate values based on
720720 // that.
721- let quiet_or = :: core :: $typ:: NAN . to_bits( ) &
721+ let quiet_or = $typ:: NAN . to_bits( ) &
722722 ( $typ:: EXP_MASK | ( $typ:: EXP_MASK >> 1 ) ) ;
723723 let signaling_or = ( quiet_or ^ ( $typ:: EXP_MASK >> 1 ) ) |
724724 $typ:: EXP_MASK ;
@@ -1277,13 +1277,13 @@ mod test {
12771277 #[ test]
12781278 fn float_simplifies_to_smallest_normal ( ) {
12791279 let mut runner = TestRunner :: default ( ) ;
1280- let mut value = ( :: std :: f64:: MIN_POSITIVE ..2.0 )
1280+ let mut value = ( f64:: MIN_POSITIVE ..2.0 )
12811281 . new_tree ( & mut runner)
12821282 . unwrap ( ) ;
12831283
12841284 while value. simplify ( ) { }
12851285
1286- assert_eq ! ( :: std :: f64 :: MIN_POSITIVE , value. current( ) ) ;
1286+ assert_eq ! ( f64 :: MIN_POSITIVE , value. current( ) ) ;
12871287 }
12881288
12891289 macro_rules! float_generation_test_body {
@@ -1343,8 +1343,7 @@ mod test {
13431343 }
13441344
13451345 let is_quiet = raw & ( $typ:: EXP_MASK >> 1 )
1346- == :: std:: $typ:: NAN . to_bits( )
1347- & ( $typ:: EXP_MASK >> 1 ) ;
1346+ == $typ:: NAN . to_bits( ) & ( $typ:: EXP_MASK >> 1 ) ;
13481347 if is_quiet {
13491348 // x86/AMD64 turn signalling NaNs into quiet
13501349 // NaNs quite aggressively depending on what
0 commit comments