Anonymous user
Arithmetic/Rational/Tcl: Difference between revisions
no edit summary
m (Add SMW link) |
imported>Katsumi No edit summary |
||
(One intermediate revision by one other user not shown) | |||
Line 1:
<noinclude>{{collection|Rational Arithmetic}}[[implementation of task::Arithmetic/Rational| ]]</noinclude>
Code to find factors of a number not shown:
<syntaxhighlight lang="tcl">
proc rat::new {args} {
Line 159 ⟶ 160:
source primes.tcl
get_perfect_numbers
</syntaxhighlight>
<pre>perfect: 6▼
{{out}}
<pre>
perfect: 28
perfect: 496
perfect: 8128
elapsed: 477 seconds
perfect: 33550336
</pre>
|