spec for the abs, real_abs and imag_abs methods