File tree Expand file tree Collapse file tree 1 file changed +7
-1
lines changed
contents/euclidean_algorithm Expand file tree Collapse file tree 1 file changed +7
-1
lines changed Original file line number Diff line number Diff line change @@ -178,11 +178,17 @@ and modulo method:
178
178
{% sample lang="st" %}
179
179
[ import, lang="smalltalk"] ( code/smalltalk/euclid.st )
180
180
{% sample lang="piet" %}
181
+ A text version of the program is provided for both versions.
182
+ #### Subtraction
181
183
> ![ ] ( code/piet/subtract/euclidian_algorithm_subtract_large.png ) ![ ] ( code/piet/subtract/euclidian_algorithm_subtract.png )
182
184
185
+ [ import:23-107] ( code/piet/euclidian_algorithm.piet )
186
+
187
+ #### Modulo
183
188
> ![ ] ( code/piet/mod/euclidian_algorithm_mod_large.png ) ![ ] ( code/piet/mod/euclidian_algorithm_mod.png )
184
- {% endmethod %}
185
189
190
+ [ import:126-146] ( code/piet/euclidian_algorithm.piet )
191
+ {% endmethod %}
186
192
187
193
<script >
188
194
MathJax .Hub .Queue ([" Typeset" ,MathJax .Hub ]);
You can’t perform that action at this time.
0 commit comments