Modular arithmetic: Difference between revisions

Content added Content deleted
m (→‎{{header|Wren}}: Changed to Wren S/H)
Line 2,939: Line 2,939:


=={{header|Wren}}==
=={{header|Wren}}==
<syntaxhighlight lang="ecmascript">// Semi-abstract though we can define a 'pow' method in terms of the other operations.
<syntaxhighlight lang="wren">// Semi-abstract though we can define a 'pow' method in terms of the other operations.
class Ring {
class Ring {
+(other) {}
+(other) {}