Home
last modified time | relevance | path

Searched refs:ecma_number_make_infinity (Results 1 – 9 of 9) sorted by relevance

/third_party/jerryscript/tests/unit-core/
Dtest-to-integer.cpp108 TEST_ASSERT (1.0f / num == ecma_number_make_infinity (true));
118 TEST_ASSERT (1.0f / num == ecma_number_make_infinity (false));
121 ecma_value_t negative_infinity = ecma_make_number_value (ecma_number_make_infinity (true));
128 TEST_ASSERT (num == ecma_number_make_infinity (true));
131 ecma_value_t positive_infinity = ecma_make_number_value (ecma_number_make_infinity (false));
138 TEST_ASSERT (num == ecma_number_make_infinity (false));
Dtest-to-length.cpp112 ecma_value_t positive_infinity = ecma_make_number_value (ecma_number_make_infinity (false));
126 ecma_value_t negative_infinity = ecma_make_number_value (ecma_number_make_infinity (true));
/third_party/jerryscript/jerry-core/ecma/builtin-objects/
Decma-builtin-math.c125 ecma_number_t result_num = ecma_number_make_infinity (is_max); in ecma_builtin_math_object_max_min()
247 return ecma_make_number_value (ecma_number_make_infinity (false)); in ecma_builtin_math_object_hypot()
Decma-builtins.c813 num = ecma_number_make_infinity (false); in ecma_builtin_try_to_instantiate_property()
818 num = ecma_number_make_infinity (true); in ecma_builtin_try_to_instantiate_property()
Decma-builtin-string-prototype.c1258 ecma_number_t length_num = ecma_number_make_infinity (false); in ecma_builtin_string_prototype_object_substr()
/third_party/jerryscript/jerry-core/ecma/base/
Decma-helpers-number.c266 ecma_number_make_infinity (bool sign) /**< true - for negative Infinity, in ecma_number_make_infinity() function
504 return ecma_number_make_infinity (sign); in ecma_number_make_from_sign_mantissa_and_exponent()
948 return ecma_make_number_value (ecma_number_make_infinity (sign)); in ecma_number_parse_float()
Decma-helpers-conversion.c433 return ecma_number_make_infinity (sign); in ecma_utf8_string_to_number()
563 return ecma_number_make_infinity (sign); in ecma_utf8_string_to_number()
Decma-helpers.h394 ecma_number_t ecma_number_make_infinity (bool sign);
/third_party/jerryscript/jerry-core/api/
Djerry.c1579 return ecma_make_number_value (ecma_number_make_infinity (sign)); in jerry_create_number_infinity()