Searched refs:rhs_val (Results 1 – 6 of 6) sorted by relevance
240 mp_float_t rhs_val; in mp_obj_float_binary_op() local248 lhs_val += rhs_val; in mp_obj_float_binary_op()252 lhs_val -= rhs_val; in mp_obj_float_binary_op()256 lhs_val *= rhs_val; in mp_obj_float_binary_op()260 if (rhs_val == 0) { in mp_obj_float_binary_op()271 if (rhs_val == 0) { in mp_obj_float_binary_op()274 lhs_val /= rhs_val; in mp_obj_float_binary_op()287 lhs_val += rhs_val; in mp_obj_float_binary_op()293 if (lhs_val == 0 && rhs_val < 0 && !isinf(rhs_val)) { in mp_obj_float_binary_op()296 if (lhs_val < 0 && rhs_val != MICROPY_FLOAT_C_FUN(floor)(rhs_val) && !isnan(rhs_val)) { in mp_obj_float_binary_op()[all …]
129 long long rhs_val; in mp_obj_int_binary_op() local139 rhs_val = MP_OBJ_SMALL_INT_VALUE(rhs_in); in mp_obj_int_binary_op()141 rhs_val = ((mp_obj_int_t *)rhs_in)->val; in mp_obj_int_binary_op()159 if (rhs_val == 0) { in mp_obj_int_binary_op()165 if (rhs_val == 0) { in mp_obj_int_binary_op()189 if (rhs_val < 0) { in mp_obj_int_binary_op()197 while (rhs_val > 0) { in mp_obj_int_binary_op()198 if (rhs_val & 1) { in mp_obj_int_binary_op()201 if (rhs_val == 1) { in mp_obj_int_binary_op()204 rhs_val /= 2; in mp_obj_int_binary_op()[all …]
378 lhs_val |= rhs_val; in mp_binary_op()382 lhs_val ^= rhs_val; in mp_binary_op()386 lhs_val &= rhs_val; in mp_binary_op()390 if (rhs_val < 0) { in mp_binary_op()407 if (rhs_val < 0) { in mp_binary_op()422 lhs_val += rhs_val; in mp_binary_op()426 lhs_val -= rhs_val; in mp_binary_op()457 if (rhs_val == 0) { in mp_binary_op()466 if (rhs_val == 0) { in mp_binary_op()474 if (rhs_val == 0) { in mp_binary_op()[all …]
37 AccumScalar rhs_val = Element(rhs, k, j); in ReferenceMul() local38 accum += (lhs_val - lhs.zero_point()) * (rhs_val - rhs.zero_point()); in ReferenceMul()
216 AccumScalar rhs_val = Element(rhs, k, j);217 accum += lhs_val * rhs_val;
255 AccumT rhs_val = rhs_ptr2[accum_depth * j + k]; in BatchMatMul() local256 total += (lhs_val + filter_offset) * (rhs_val + input_offset); in BatchMatMul()
Completed in 13 milliseconds