Home
last modified time | relevance | path

Searched refs:rhs_val (Results 1 – 6 of 6) sorted by relevance

/AliOS-Things-master/components/py_engine/engine/py/
A Dobjfloat.c240 mp_float_t rhs_val; in mp_obj_float_binary_op() local
248 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 …]
A Dobjint_longlong.c129 long long rhs_val; in mp_obj_int_binary_op() local
139 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 …]
A Druntime.c378 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 …]
/AliOS-Things-master/components/ai_agent/src/engine/tflite-micro/third_party/ruy/ruy/
A Dreference_mul.h37 AccumScalar rhs_val = Element(rhs, k, j); in ReferenceMul() local
38 accum += (lhs_val - lhs.zero_point()) * (rhs_val - rhs.zero_point()); in ReferenceMul()
A Dkernel.h216 AccumScalar rhs_val = Element(rhs, k, j);
217 accum += lhs_val * rhs_val;
/AliOS-Things-master/components/ai_agent/src/engine/tflite-micro/tensorflow/lite/kernels/internal/reference/
A Dbatch_matmul.h255 AccumT rhs_val = rhs_ptr2[accum_depth * j + k]; in BatchMatMul() local
256 total += (lhs_val + filter_offset) * (rhs_val + input_offset); in BatchMatMul()

Completed in 13 milliseconds