Gaussian primes: Difference between revisions

→‎{{header|jq}}: rm extraneous comment
(→‎{{header|jq}}: document an assumption)
(→‎{{header|jq}}: rm extraneous comment)
Line 235:
<syntaxhighlight lang=jq>
# emit a stream of Gaussian primes with real and imaginary parts within the given radius
# but use the square |real| < $Radius
def GPrimes($Radius):
($Radius | norm) as $R2
2,442

edits