Home
last modified time | relevance | path

Searched refs:ecma_number_is_negative (Results 1 – 12 of 12) sorted by relevance

/third_party/jerryscript/jerry-core/ecma/operations/
Decma-comparison.c357 && !ecma_number_is_negative (nx)) in ecma_op_abstract_relational_compare()
363 && !ecma_number_is_negative (ny)) in ecma_op_abstract_relational_compare()
369 && ecma_number_is_negative (ny)) in ecma_op_abstract_relational_compare()
375 && ecma_number_is_negative (nx)) in ecma_op_abstract_relational_compare()
Decma-conversion.c111 && ecma_number_is_negative (x_num) != ecma_number_is_negative (y_num)) in ecma_op_same_value()
168 && ecma_number_is_negative (x_num) != ecma_number_is_negative (y_num)) in ecma_op_same_value_zero()
905 *number_p = ecma_number_is_negative (number) ? -floor_fabs : floor_fabs; in ecma_op_to_integer()
Decma-container-object.c750 … if (JERRY_UNLIKELY (ecma_number_is_zero (number_value) && ecma_number_is_negative (number_value))) in ecma_op_container_set_noramlize_zero()
Decma-typedarray-object.c1149 if (ecma_number_is_negative (offset)) in ecma_op_create_typedarray()
/third_party/jerryscript/jerry-core/ecma/base/
Decma-helpers-number.c286 ecma_number_is_negative (ecma_number_t num) /**< ecma-number */ in ecma_number_is_negative() function
526 if (ecma_number_is_negative (num)) in ecma_number_get_prev()
561 if (ecma_number_is_negative (num)) in ecma_number_get_next()
602 const bool sign = ecma_number_is_negative (num); in ecma_number_trunc()
653 && ecma_number_is_negative (left_num)) in ecma_number_calc_remainder()
Decma-helpers-conversion.c767 const bool sign = ecma_number_is_negative (num); in ecma_number_to_uint32()
875 JERRY_ASSERT (!ecma_number_is_negative (num)); in ecma_number_to_decimal()
1011 JERRY_ASSERT (!ecma_number_is_negative (num)); in ecma_number_to_binary_floating_point_number()
1049 if (ecma_number_is_negative (num)) in ecma_number_to_utf8_string()
Decma-helpers.h396 bool ecma_number_is_negative (ecma_number_t num);
Decma-helpers-string.c593 … lit_magic_string_id_t id = (ecma_number_is_negative (num) ? LIT_MAGIC_STRING_NEGATIVE_INFINITY_UL in ecma_new_ecma_string_from_number()
/third_party/jerryscript/jerry-core/ecma/builtin-objects/
Decma-builtin-math.c162 bool is_negative = ecma_number_is_negative (arg_num); in ecma_builtin_math_object_max_min()
303 if (ecma_number_is_negative (arg)) in ecma_builtin_math_object_sign()
463 else if (ecma_number_is_negative (x) in ecma_builtin_math_dispatch_routine()
Decma-builtin-number-prototype.c290 if (ecma_number_is_negative (this_arg_number)) in ecma_builtin_number_prototype_object_to_string()
615 if (ecma_number_is_negative (*this_num_p)) in ecma_builtin_number_prepare_conversion()
Decma-builtin-helpers.c473 else if (!ecma_number_is_negative (index)) in ecma_builtin_helper_string_index_normalize()
Decma-builtin-array-prototype.c1320 if (ecma_number_is_negative (delete_num)) in ecma_builtin_array_prototype_object_splice()