Greatest common divisor: Difference between revisions
Content added Content deleted
Line 679: | Line 679: | ||
<lang J> 12 +. 30 |
<lang J> 12 +. 30 |
||
6</lang> |
6</lang> |
||
Note that <code>+.</code> is a single, two character token. GCD is a primitive in J (and anyone that has studied the right kind of mathematics should instantly recognize why the same operation is used for both GCD and OR). |
|||
=={{header|Java}}== |
=={{header|Java}}== |