Fractran: Difference between revisions
Content added Content deleted
Simple9371 (talk | contribs) m (→{{header|Scheme}}: just reduce space) |
m (Added reference to library "bignum".) |
||
Line 2,617: | Line 2,617: | ||
=={{header|Nim}}== |
=={{header|Nim}}== |
||
=== Using fractions=== |
=== Using fractions=== |
||
{{libheader|bignum}} |
|||
This is a simple implementation which operates on fractions. As Nim standard library doesn’t provide a module for big numbers, we have used the extra library “bignum” which relies on “gmp”. |
This is a simple implementation which operates on fractions. As Nim standard library doesn’t provide a module for big numbers, we have used the extra library “bignum” which relies on “gmp”. |
||
We provide a general function to run any Fractran program and a specialized iterator to find prime numbers. |
We provide a general function to run any Fractran program and a specialized iterator to find prime numbers. |