Improving precision of ecma_number_to_string in case number can be represented as UInt32.
This commit is contained in:
@@ -31,7 +31,8 @@ main( int __unused argc,
|
||||
{
|
||||
(const ecma_char_t*) "1",
|
||||
(const ecma_char_t*) "0.5",
|
||||
(const ecma_char_t*) "12344.99931",
|
||||
(const ecma_char_t*) "12345",
|
||||
(const ecma_char_t*) "12345.12209",
|
||||
(const ecma_char_t*) "1.401298403e-45",
|
||||
(const ecma_char_t*) "-2.5e+38",
|
||||
(const ecma_char_t*) "NaN",
|
||||
@@ -46,6 +47,7 @@ main( int __unused argc,
|
||||
1.0f,
|
||||
0.5f,
|
||||
12345.0f,
|
||||
12345.123f,
|
||||
1.0e-45f,
|
||||
-2.5e+38f,
|
||||
NAN,
|
||||
|
||||
Reference in New Issue
Block a user