Chinese remainder theorem: Difference between revisions
Content added Content deleted
m (→{{header|Wren}}: Changed to Wren S/H) |
(→{{header|Coffeescript}}: Corrected case of the language name - should be CoffeeScript) |
||
Line 918: | Line 918: | ||
23 |
23 |
||
</pre> |
</pre> |
||
=={{header| |
=={{header|CoffeeScript}}== |
||
<syntaxhighlight lang="coffeescript">crt = (n,a) -> |
<syntaxhighlight lang="coffeescript">crt = (n,a) -> |
||
sum = 0 |
sum = 0 |
||
Line 943: | Line 943: | ||
23 |
23 |
||
</pre> |
</pre> |
||
=={{header|Common Lisp}}== |
=={{header|Common Lisp}}== |
||
Using function ''invmod'' from [[http://rosettacode.org/wiki/Modular_inverse#Common_Lisp]]. |
Using function ''invmod'' from [[http://rosettacode.org/wiki/Modular_inverse#Common_Lisp]]. |