Home
last modified time | relevance | path

Searched refs:lhs_real (Results 1 – 2 of 2) sorted by relevance

/AliOS-Things-master/components/py_engine/engine/py/
A Dobjcomplex.c188 lhs_real += rhs_real; in mp_obj_complex_binary_op()
193 lhs_real -= rhs_real; 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()
202 lhs_real = real; in mp_obj_complex_binary_op()
215 lhs_real /= rhs_real; in mp_obj_complex_binary_op()
219 lhs_imag = -lhs_real / rhs_imag; in mp_obj_complex_binary_op()
220 lhs_real = real; 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()
239 lhs_real = (rhs_real == 0); in mp_obj_complex_binary_op()
[all …]
A Dobj.h889 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 7 milliseconds