Home
last modified time | relevance | path

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

/third_party/jerryscript/jerry-core/ecma/base/
Decma-helpers-number.c39 #define ECMA_NUMBER_SIGN_POS (ECMA_NUMBER_FRACTION_WIDTH + \
57 JERRY_ASSERT ((fraction & ~((1ull << ECMA_NUMBER_FRACTION_WIDTH) - 1)) == 0); in ecma_number_pack()
60 (biased_exp << ECMA_NUMBER_FRACTION_WIDTH) | in ecma_number_pack()
88 … *biased_exp_p = (((packed_value) & ~(1u << ECMA_NUMBER_SIGN_POS)) >> ECMA_NUMBER_FRACTION_WIDTH); in ecma_number_unpack()
93 *fraction_p = (packed_value & ((1u << ECMA_NUMBER_FRACTION_WIDTH) - 1)); in ecma_number_unpack()
120 (((uint64_t) biased_exp) << ECMA_NUMBER_FRACTION_WIDTH) | in ecma_number_pack()
124 JERRY_ASSERT ((fraction & ~((1ull << ECMA_NUMBER_FRACTION_WIDTH) - 1)) == 0); in ecma_number_pack()
151 …_p = (uint32_t) (((packed_value) & ~(1ull << ECMA_NUMBER_SIGN_POS)) >> ECMA_NUMBER_FRACTION_WIDTH); in ecma_number_unpack()
156 *fraction_p = (packed_value & ((1ull << ECMA_NUMBER_FRACTION_WIDTH) - 1)); in ecma_number_unpack()
379 while (!(fraction & (1ull << ECMA_NUMBER_FRACTION_WIDTH))) in ecma_number_get_fraction_and_exponent()
[all …]
Decma-globals.h1176 #define ECMA_NUMBER_FRACTION_WIDTH (23) macro
1221 #define ECMA_NUMBER_FRACTION_WIDTH (52) macro
/third_party/jerryscript/jerry-core/ecma/builtin-objects/
Decma-builtin-number-prototype.c353 required_digits = magnitude + ECMA_NUMBER_FRACTION_WIDTH + 1; in ecma_builtin_number_prototype_object_to_string()