about summary refs log tree commit diff stats
path: root/html/070table.mu.html
diff options
context:
space:
mode:
authorKartik K. Agaram <vc@akkartik.com>2016-10-31 22:56:25 -0700
committerKartik K. Agaram <vc@akkartik.com>2016-10-31 22:56:25 -0700
commit9d9da2adf96d783ae51edc1bf6c9cbe6017ead8f (patch)
tree8e34d2dbc40041a06cc44110a3973aed90f40e55 /html/070table.mu.html
parent1167f8779c2de268a074fc8656f022721df56c3f (diff)
downloadmu-9d9da2adf96d783ae51edc1bf6c9cbe6017ead8f.tar.gz
3618
Diffstat (limited to 'html/070table.mu.html')
-rw-r--r--html/070table.mu.html4
1 files changed, 2 insertions, 2 deletions
diff --git a/html/070table.mu.html b/html/070table.mu.html
index 7d46ec53..b843f50f 100644
--- a/html/070table.mu.html
+++ b/html/070table.mu.html
@@ -86,7 +86,7 @@ body { font-size: 12pt; font-family: monospace; color: #eeeeee; background-color
   hash <span class="Special">&lt;-</span> abs hash
   capacity:num <span class="Special">&lt;-</span> get *table, <span class="Constant">capacity:offset</span>
   _, hash-key:num <span class="Special">&lt;-</span> divide-with-remainder hash, capacity
-  hash-key <span class="Special">&lt;-</span> abs hash-key  <span class="Comment"># in case hash-key overflows into a negative integer</span>
+  hash-key <span class="Special">&lt;-</span> abs hash-key  <span class="Comment"># in case hash overflows from a double into a negative integer inside 'divide-with-remainder' above</span>
   table-data:&amp;:@:table-row:_key:_value <span class="Special">&lt;-</span> get *table, <span class="Constant">data:offset</span>
   x:table-row:_key:_value <span class="Special">&lt;-</span> index *table-data, hash-key
   occupied?:bool <span class="Special">&lt;-</span> get x, <span class="Constant">occupied?:offset</span>
@@ -103,7 +103,7 @@ body { font-size: 12pt; font-family: monospace; color: #eeeeee; background-color
   hash <span class="Special">&lt;-</span> abs hash
   capacity:num <span class="Special">&lt;-</span> get *table, <span class="Constant">capacity:offset</span>
   _, hash-key:num <span class="Special">&lt;-</span> divide-with-remainder hash, capacity
-  hash-key <span class="Special">&lt;-</span> abs hash-key  <span class="Comment"># in case hash-key overflows into a negative integer</span>
+  hash-key <span class="Special">&lt;-</span> abs hash-key  <span class="Comment"># in case hash overflows from a double into a negative integer inside 'divide-with-remainder' above</span>
   table-data:&amp;:@:table-row:_key:_value <span class="Special">&lt;-</span> get *table, <span class="Constant">data:offset</span>
   x:table-row:_key:_value <span class="Special">&lt;-</span> index *table-data, hash-key
   occupied?:bool <span class="Special">&lt;-</span> get x, <span class="Constant">occupied?:offset</span>