@@ -850,12 +850,12 @@ impl FloatExt for f32 {
850
850
( ( hash >> 32 ) & u64:: from ( u32:: MAX ) ) as u32 ,
851
851
) ;
852
852
853
- // http ://prng.di.unimi.it -> Generating uniform doubles in the unit interval [0.0, 1.0)
853
+ // https ://prng.di.unimi.it -> Generating uniform doubles in the unit interval [0.0, 1.0)
854
854
// the hash is shifted to only cover the mantissa
855
855
#[ allow( clippy:: cast_precision_loss) ]
856
856
let u0 = ClosedOpenUnit ( ( ( high >> 8 ) as Self ) * Self :: from_bits ( 0x3380_0000_u32 ) ) ; // 0x1.0p-24
857
857
858
- // http ://prng.di.unimi.it -> Generating uniform doubles in the unit interval (0.0, 1.0]
858
+ // https ://prng.di.unimi.it -> Generating uniform doubles in the unit interval (0.0, 1.0]
859
859
// the hash is shifted to only cover the mantissa
860
860
#[ allow( clippy:: cast_precision_loss) ]
861
861
let u1 = OpenClosedUnit ( ( ( ( low >> 8 ) + 1 ) as Self ) * Self :: from_bits ( 0x3380_0000_u32 ) ) ; // 0x1.0p-24
@@ -883,15 +883,15 @@ impl FloatExt for f64 {
883
883
}
884
884
885
885
fn u01x2 ( hash : u64 ) -> ( ClosedOpenUnit < Self > , OpenClosedUnit < Self > ) {
886
- // http ://prng.di.unimi.it -> Generating uniform doubles in the unit interval [0.0, 1.0)
886
+ // https ://prng.di.unimi.it -> Generating uniform doubles in the unit interval [0.0, 1.0)
887
887
// the hash is shifted to only cover the mantissa
888
888
#[ allow( clippy:: cast_precision_loss) ]
889
889
let u0 =
890
890
ClosedOpenUnit ( ( ( hash >> 11 ) as Self ) * Self :: from_bits ( 0x3CA0_0000_0000_0000_u64 ) ) ; // 0x1.0p-53
891
891
892
892
let hash = seahash_diffuse ( hash + 1 ) ;
893
893
894
- // http ://prng.di.unimi.it -> Generating uniform doubles in the unit interval (0.0, 1.0]
894
+ // https ://prng.di.unimi.it -> Generating uniform doubles in the unit interval (0.0, 1.0]
895
895
// the hash is shifted to only cover the mantissa
896
896
#[ allow( clippy:: cast_precision_loss) ]
897
897
let u1 = OpenClosedUnit (
0 commit comments