Home
last modified time | relevance | path

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

/third_party/jerryscript/jerry-core/ecma/base/
Decma-helpers-conversion.c909 int32_t char_cnt = 0; in ecma_double_to_ascii() local
915 buffer_p[num_of_digits - 1 - char_cnt++] = (lit_utf8_byte_t) ((int) mod_res + '0'); in ecma_double_to_ascii()
919 while (char_cnt < num_of_digits) in ecma_double_to_ascii()
923 …buffer_p[num_of_digits - 1 - char_cnt++] = (lit_utf8_byte_t) ((int) (residual / (divider / 10.0)) … in ecma_double_to_ascii()
929 *exp_p = char_cnt; in ecma_double_to_ascii()
942 int32_t char_cnt = 0; in ecma_double_to_binary_floating_point() local
952 char_cnt++; in ecma_double_to_binary_floating_point()
958 …buffer_p[num_of_digits - 1 - char_cnt++] = (lit_utf8_byte_t) ((int) fmod (integer_part, 10.0) + '0… in ecma_double_to_binary_floating_point()
964 ecma_double_to_ascii (integer_part, buffer_p, num_of_digits, &char_cnt); in ecma_double_to_binary_floating_point()
976 *exp_p = char_cnt; in ecma_double_to_binary_floating_point()
[all …]