Comment Comment by hpcjoe Same in Julia, but no need to "import math", its already built in :D joe@zap:~ $ julia _ _ _ _(_)_ | Documentation: https://docs.julialang.org (_) | (_) (_) | _ _ _| |_ __ _ | Type "?" for help, "]?" for Pkg help. | | | | | | |/ _` | | | | |_| | | | (_| | | Version 1.10.5 (2024-08-27) _/ |\__'_|_|_|\__'_| | |__/ | julia> z=1+2*im 1 + 2im julia> z*conj(z) 5 + 0im julia> sqrt(z*conj(z)) 2.23606797749979 + 0.0im julia> abs(z) 2.23606797749979 parent hpcjoe 2 years ago