Home
last modified time | relevance | path

Searched refs:lhs_val (Results 1 – 7 of 7) sorted by relevance

/AliOS-Things-master/components/py_engine/engine/py/
A Dobjfloat.c168 mp_float_t lhs_val = mp_obj_float_get(lhs_in); in 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()
274 lhs_val /= rhs_val; in mp_obj_float_binary_op()
281 lhs_val = MICROPY_FLOAT_C_FUN(fmod)(lhs_val, rhs_val); in mp_obj_float_binary_op()
283 if (lhs_val == MICROPY_FLOAT_ZERO) { in mp_obj_float_binary_op()
287 lhs_val += rhs_val; in mp_obj_float_binary_op()
309 lhs_val = MICROPY_FLOAT_C_FUN(pow)(lhs_val, rhs_val); in mp_obj_float_binary_op()
317 mp_obj_new_float(lhs_val), in mp_obj_float_binary_op()
[all …]
A Dobjint_longlong.c128 long long lhs_val; in mp_obj_int_binary_op() local
132 lhs_val = MP_OBJ_SMALL_INT_VALUE(lhs_in); in mp_obj_int_binary_op()
135 lhs_val = ((mp_obj_int_t *)lhs_in)->val; in mp_obj_int_binary_op()
150 return mp_obj_new_int_from_ll(lhs_val + rhs_val); in mp_obj_int_binary_op()
199 ans *= lhs_val; in mp_obj_int_binary_op()
205 lhs_val *= lhs_val; in mp_obj_int_binary_op()
211 return mp_obj_new_bool(lhs_val < rhs_val); in mp_obj_int_binary_op()
213 return mp_obj_new_bool(lhs_val > rhs_val); in mp_obj_int_binary_op()
215 return mp_obj_new_bool(lhs_val <= rhs_val); in mp_obj_int_binary_op()
217 return mp_obj_new_bool(lhs_val >= rhs_val); 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()
401 lhs_val = (mp_uint_t)lhs_val << rhs_val; in mp_binary_op()
422 lhs_val += rhs_val; in mp_binary_op()
426 lhs_val -= rhs_val; in mp_binary_op()
460 lhs_val = mp_small_int_floor_divide(lhs_val, rhs_val); in mp_binary_op()
477 lhs_val = mp_small_int_modulo(lhs_val, rhs_val); in mp_binary_op()
502 if (mp_small_int_mul_overflow(lhs_val, lhs_val)) { in mp_binary_op()
505 lhs_val *= lhs_val; in mp_binary_op()
[all …]
A Dobj.h885 mp_obj_t mp_obj_float_binary_op(mp_binary_op_t op, mp_float_t lhs_val, mp_obj_t rhs); // can return…
/AliOS-Things-master/components/ai_agent/src/engine/tflite-micro/third_party/ruy/ruy/
A Dreference_mul.h36 AccumScalar lhs_val = Element(lhs, i, k); in ReferenceMul() local
38 accum += (lhs_val - lhs.zero_point()) * (rhs_val - rhs.zero_point()); in ReferenceMul()
A Dkernel.h215 AccumScalar lhs_val = Element(lhs, k, i);
217 accum += lhs_val * rhs_val;
/AliOS-Things-master/components/ai_agent/src/engine/tflite-micro/tensorflow/lite/kernels/internal/reference/
A Dbatch_matmul.h254 AccumT lhs_val = lhs_ptr2[accum_depth * i + k]; in BatchMatMul() local
256 total += (lhs_val + filter_offset) * (rhs_val + input_offset); in BatchMatMul()

Completed in 14 milliseconds