Skip to content

Commit

Permalink
Fix stochastic rounding in spec (#710)
Browse files Browse the repository at this point in the history
SHA: cb74545
Reason: push, by JensenPaul

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
  • Loading branch information
brusshamilton and github-actions[bot] committed Jul 18, 2023
1 parent 3863c6b commit 310aa43
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions index.html
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
<link href="https://www.w3.org/StyleSheets/TR/2021/cg-draft" rel="stylesheet">
<meta content="Bikeshed version b06c00b8e, updated Tue Jul 11 13:41:16 2023 -0700" name="generator">
<link href="https://wicg.github.io/turtledove/" rel="canonical">
<meta content="f25bcc60cdb53ba4eeb6e188879aaa4bc4fb67f7" name="document-revision">
<meta content="cb74545de4f5a9319e885121d1c4615c31a752e4" name="document-revision">
<style>
/* domintro from https://resources.whatwg.org/standard.css */
.domintro {
Expand Down Expand Up @@ -3233,7 +3233,7 @@ <h3 class="heading settled" data-level="4.1" id="runadauction"><span class="secn
<li data-md>
<p>Let <var>precisionScaledValue</var> be <var>normValue</var> multiplied by 256.</p>
<li data-md>
<p>Let <var>noisyScaledValue</var> be <var>precisionScaledValue</var> plus a random <code class="idl"><a data-link-type="idl" href="https://webidl.spec.whatwg.org/#idl-double" id="ref-for-idl-double⑧">double</a></code> value greater than or equal to 0 but less than 0.5.</p>
<p>Let <var>noisyScaledValue</var> be <var>precisionScaledValue</var> plus a random <code class="idl"><a data-link-type="idl" href="https://webidl.spec.whatwg.org/#idl-double" id="ref-for-idl-double⑧">double</a></code> value greater than or equal to 0 but less than 1.</p>
<li data-md>
<p>Let <var>truncatedScaledValue</var> be the largest integer not greater than <var>noisyScaledValue</var>.</p>
<li data-md>
Expand Down

0 comments on commit 310aa43

Please sign in to comment.