Home
last modified time | relevance | path

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

/third_party/jerryscript/jerry-core/ecma/operations/
Decma-comparison.c62 ecma_number_t x_num = ecma_get_number_from_value (x); in ecma_op_abstract_equality_compare() local
65 bool is_x_equal_to_y = (x_num == y_num); in ecma_op_abstract_equality_compare()
70 if (ecma_number_is_nan (x_num) in ecma_op_abstract_equality_compare()
75 else if (x_num == y_num in ecma_op_abstract_equality_compare()
76 || (ecma_number_is_zero (x_num) in ecma_op_abstract_equality_compare()
262 ecma_number_t x_num = ecma_get_number_from_value (x); in ecma_op_strict_equality_compare() local
265 bool is_x_equal_to_y = (x_num == y_num); in ecma_op_strict_equality_compare()
270 if (ecma_number_is_nan (x_num) in ecma_op_strict_equality_compare()
275 else if (x_num == y_num in ecma_op_strict_equality_compare()
276 || (ecma_number_is_zero (x_num) in ecma_op_strict_equality_compare()
Decma-conversion.c98 ecma_number_t x_num = ecma_get_number_from_value (x); in ecma_op_same_value() local
101 bool is_x_nan = ecma_number_is_nan (x_num); in ecma_op_same_value()
109 if (ecma_number_is_zero (x_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()
148 ecma_number_t x_num = ecma_get_number_from_value (x); in ecma_op_same_value_zero() local
151 bool is_x_nan = ecma_number_is_nan (x_num); in ecma_op_same_value_zero()
166 if (ecma_number_is_zero (x_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()