Gaussian primes: Difference between revisions
Content added Content deleted
m (→{{header|Wren}}: Minor update following changes to complex number formatting.) |
m (→{{header|Wren}}: Tweak following further changes to 'fmt'.) |
||
Line 773: | Line 773: | ||
} |
} |
||
System.print("Gaussian primes with a norm less than 100 sorted by norm:") |
System.print("Gaussian primes with a norm less than 100 sorted by norm:") |
||
Fmt.tprint("($0.0z) ", gp10, 5) |
Fmt.tprint("($ 0.0z) ", gp10, 5) |
||
GPrimes = GPrimes.map { |c| c.toPair }.toList |
GPrimes = GPrimes.map { |c| c.toPair }.toList |
||