Miller–Rabin primality test: Difference between revisions

Content added Content deleted
m (→‎{{header|Fortran}}: nl works with)
m (→‎{{header|Smalltalk}}: nl works with)
Line 360: Line 360:
=={{header|Smalltalk}}==
=={{header|Smalltalk}}==
{{works with|GNU Smalltalk}}
{{works with|GNU Smalltalk}}

Smalltalk handles big numbers naturally and trasparently (the parent class <tt>Integer</tt> has many subclasses, and <cite>a subclass is picked according to the size</cite> of the integer that must be handled)
Smalltalk handles big numbers naturally and trasparently (the parent class <tt>Integer</tt> has many subclasses, and <cite>a subclass is picked according to the size</cite> of the integer that must be handled)
<lang smalltalk>Integer extend [
<lang smalltalk>Integer extend [