Skip to content

Commit a7f25c7

Browse files
committed
deploy: fd940fc
1 parent a803fc3 commit a7f25c7

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

src/numcodecs_random_projection/lib.rs.html

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1885,12 +1885,12 @@
18851885
((<a href="#846">hash</a> &gt;&gt; <span class="number">32</span>) &amp; <a href="https://doc.rust-lang.org/nightly/core/convert/trait.From.html#tymethod.from">u64::from</a>(u32::MAX)) <span class="kw">as </span><a href="https://doc.rust-lang.org/nightly/std/primitive.u32.html">u32</a>,
18861886
);
18871887

1888-
<span class="comment">// http://prng.di.unimi.it -&gt; Generating uniform doubles in the unit interval [0.0, 1.0)
1888+
<span class="comment">// https://prng.di.unimi.it -&gt; Generating uniform doubles in the unit interval [0.0, 1.0)
18891889
// the hash is shifted to only cover the mantissa
18901890
</span><span class="attr">#[allow(clippy::cast_precision_loss)]
18911891
</span><span class="kw">let </span>u0 = <a href="#755">ClosedOpenUnit</a>(((<a href="#848">high</a> &gt;&gt; <span class="number">8</span>) <span class="kw">as </span><span class="self">Self</span>) * <a href="https://doc.rust-lang.org/nightly/core/foreigntype.f32.html#method.from_bits"><span class="self">Self</span>::from_bits</a>(<span class="number">0x3380_0000_u32</span>)); <span class="comment">// 0x1.0p-24
18921892

1893-
// http://prng.di.unimi.it -&gt; Generating uniform doubles in the unit interval (0.0, 1.0]
1893+
// https://prng.di.unimi.it -&gt; Generating uniform doubles in the unit interval (0.0, 1.0]
18941894
// the hash is shifted to only cover the mantissa
18951895
</span><span class="attr">#[allow(clippy::cast_precision_loss)]
18961896
</span><span class="kw">let </span>u1 = <a href="#760">OpenClosedUnit</a>((((<a href="#848">low</a> &gt;&gt; <span class="number">8</span>) + <span class="number">1</span>) <span class="kw">as </span><span class="self">Self</span>) * <a href="https://doc.rust-lang.org/nightly/core/foreigntype.f32.html#method.from_bits"><span class="self">Self</span>::from_bits</a>(<span class="number">0x3380_0000_u32</span>)); <span class="comment">// 0x1.0p-24
@@ -1918,15 +1918,15 @@
19181918
}
19191919

19201920
<span class="kw">fn </span>u01x2(hash: <a href="https://doc.rust-lang.org/nightly/std/primitive.u64.html">u64</a>) -&gt; (ClosedOpenUnit&lt;<span class="self">Self</span>&gt;, OpenClosedUnit&lt;<span class="self">Self</span>&gt;) {
1921-
<span class="comment">// http://prng.di.unimi.it -&gt; Generating uniform doubles in the unit interval [0.0, 1.0)
1921+
<span class="comment">// https://prng.di.unimi.it -&gt; Generating uniform doubles in the unit interval [0.0, 1.0)
19221922
// the hash is shifted to only cover the mantissa
19231923
</span><span class="attr">#[allow(clippy::cast_precision_loss)]
19241924
</span><span class="kw">let </span>u0 =
19251925
<a href="#755">ClosedOpenUnit</a>(((<a href="#885">hash</a> &gt;&gt; <span class="number">11</span>) <span class="kw">as </span><span class="self">Self</span>) * <a href="https://doc.rust-lang.org/nightly/core/foreigntype.f64.html#method.from_bits"><span class="self">Self</span>::from_bits</a>(<span class="number">0x3CA0_0000_0000_0000_u64</span>)); <span class="comment">// 0x1.0p-53
19261926

19271927
</span><span class="kw">let </span>hash = <a href="#730-750">seahash_diffuse</a>(<a href="#885">hash</a> + <span class="number">1</span>);
19281928

1929-
<span class="comment">// http://prng.di.unimi.it -&gt; Generating uniform doubles in the unit interval (0.0, 1.0]
1929+
<span class="comment">// https://prng.di.unimi.it -&gt; Generating uniform doubles in the unit interval (0.0, 1.0]
19301930
// the hash is shifted to only cover the mantissa
19311931
</span><span class="attr">#[allow(clippy::cast_precision_loss)]
19321932
</span><span class="kw">let </span>u1 = <a href="#760">OpenClosedUnit</a>(

0 commit comments

Comments
 (0)