Decimal conversion of Number to zt-string (still not precise enough). Zt-string copy and length calculation helpers.

This commit is contained in:
Ruben Ayrapetyan
2014-09-01 21:12:02 +04:00
parent e35f54fe86
commit 813831a23b
7 changed files with 287 additions and 65 deletions
+1 -1
View File
@@ -347,7 +347,7 @@ ecma_number_get_fraction_and_exponent (ecma_number_t num, /**< ecma-number */
*out_fraction_p = fraction;
*out_exponent_p = exponent;
return ECMA_NUMBER_FRACTION_WIDTH + 1;
return ECMA_NUMBER_FRACTION_WIDTH;
} /* ecma_number_get_fraction_and_exponent */
/**