def complex_abs_impl(context, builder, sig, args):
 def complex_abs(z):
  return math.hypot(z.real, z.imag)
 res = context.compile_internal(builder, complex_abs, sig, args)
 return impl_ret_untracked(context, builder, sig.return_type, res)

def complex_abs_impl ( context , builder , sig , args ) : def complex_abs ( z ) : return math . hypot ( z . real , z . imag ) res = context . compile_internal ( builder , complex_abs , sig , args ) return impl_ret_untracked ( context , builder , sig . return_type , res )
abs(z) := hypot .