diff options
Diffstat (limited to 'html/022arithmetic.cc.html')
-rw-r--r-- | html/022arithmetic.cc.html | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/html/022arithmetic.cc.html b/html/022arithmetic.cc.html index 4d2b454e..b18bc7d2 100644 --- a/html/022arithmetic.cc.html +++ b/html/022arithmetic.cc.html @@ -750,6 +750,18 @@ put<span class="Delimiter">(</span>Recipe_ordinal<span class="Delimiter">,</span ] <span class="traceContains">+mem: storing 12 in location 1</span> +<span class="Delimiter">:(scenario round_halves_toward_zero)</span> +<span class="muRecipe">def</span> main [ + <span class="Constant">1</span>:num<span class="Special"> <- </span>round <span class="Constant">12.5</span> +] +<span class="traceContains">+mem: storing 12 in location 1</span> + +<span class="Delimiter">:(scenario round_halves_toward_zero_2)</span> +<span class="muRecipe">def</span> main [ + <span class="Constant">1</span>:num<span class="Special"> <- </span>round -<span class="Constant">12.5</span> +] +<span class="traceContains">+mem: storing -12 in location 1</span> + <span class="Delimiter">:(before "End Primitive Recipe Declarations")</span> CHARACTER_TO_CODE<span class="Delimiter">,</span> <span class="Delimiter">:(before "End Primitive Recipe Numbers")</span> |