Searched refs:lhs_imag (Results 1 – 2 of 2) sorted by relevance
189 lhs_imag += rhs_imag; in mp_obj_complex_binary_op()194 lhs_imag -= rhs_imag; in mp_obj_complex_binary_op()200 real = lhs_real * rhs_real - lhs_imag * rhs_imag; in mp_obj_complex_binary_op()201 lhs_imag = lhs_real * rhs_imag + lhs_imag * rhs_real; in mp_obj_complex_binary_op()216 lhs_imag /= rhs_real; in mp_obj_complex_binary_op()218 mp_float_t real = lhs_imag / rhs_imag; in mp_obj_complex_binary_op()219 lhs_imag = -lhs_real / rhs_imag; in mp_obj_complex_binary_op()236 mp_float_t abs1 = MICROPY_FLOAT_C_FUN(sqrt)(lhs_real * lhs_real + lhs_imag * lhs_imag); in mp_obj_complex_binary_op()245 mp_float_t arg1 = MICROPY_FLOAT_C_FUN(atan2)(lhs_imag, lhs_real); in mp_obj_complex_binary_op()250 lhs_imag = exp_x3 * MICROPY_FLOAT_C_FUN(sin)(y3); in mp_obj_complex_binary_op()[all …]
889 mp_obj_t mp_obj_complex_binary_op(mp_binary_op_t op, mp_float_t lhs_real, mp_float_t lhs_imag, mp_o…
Completed in 6 milliseconds