(julia example) |
|||
Line 169: | Line 169: | ||
""" |
""" |
||
function isGaussianprime(n::T) where T <: Integer |
function isGaussianprime(n::T) where T <: Integer |
||
r, c = real(n), imag(n) |
r, c = abs(real(n)), imag(n) |
||
⚫ | |||
ar = abs(r) |
|||
⚫ | |||
end |
end |
||