add mag_expm1