Home
last modified time | relevance | path

Searched refs:y_num (Results 1 – 3 of 3) sorted by relevance

/third_party/jerryscript/jerry-core/ecma/operations/
Decma-comparison.c63 ecma_number_t y_num = ecma_get_number_from_value (y); in ecma_op_abstract_equality_compare() local
65 bool is_x_equal_to_y = (x_num == y_num); in ecma_op_abstract_equality_compare()
71 || ecma_number_is_nan (y_num)) in ecma_op_abstract_equality_compare()
75 else if (x_num == y_num in ecma_op_abstract_equality_compare()
77 && ecma_number_is_zero (y_num))) in ecma_op_abstract_equality_compare()
263 ecma_number_t y_num = ecma_get_number_from_value (y); in ecma_op_strict_equality_compare() local
265 bool is_x_equal_to_y = (x_num == y_num); in ecma_op_strict_equality_compare()
271 || ecma_number_is_nan (y_num)) in ecma_op_strict_equality_compare()
275 else if (x_num == y_num in ecma_op_strict_equality_compare()
277 && ecma_number_is_zero (y_num))) in ecma_op_strict_equality_compare()
Decma-conversion.c99 ecma_number_t y_num = ecma_get_number_from_value (y); in ecma_op_same_value() local
102 bool is_y_nan = ecma_number_is_nan (y_num); in ecma_op_same_value()
110 && ecma_number_is_zero (y_num) in ecma_op_same_value()
111 && ecma_number_is_negative (x_num) != ecma_number_is_negative (y_num)) in ecma_op_same_value()
116 return (x_num == y_num); in ecma_op_same_value()
149 ecma_number_t y_num = ecma_get_number_from_value (y); in ecma_op_same_value_zero() local
152 bool is_y_nan = ecma_number_is_nan (y_num); in ecma_op_same_value_zero()
167 && ecma_number_is_zero (y_num) in ecma_op_same_value_zero()
168 && ecma_number_is_negative (x_num) != ecma_number_is_negative (y_num)) in ecma_op_same_value_zero()
173 return (x_num == y_num); in ecma_op_same_value_zero()
/third_party/mindspore/patches/
D0015-bugfix-for-cpu-kernel.patch129 - int y_num = y->ElementsNum();
135 + int y_num = GetElementNum(y);
149 int num_max = condition_nums > x_num ? condition_nums : (x_num > y_num ? x_num : y_num);
152 where_param_->y_num_ = y_num;
161 ((y_num != 1) && (y_num != num_max))) {