Improving precision of zt-string to ecma-number conversion.

This commit is contained in:
Ruben Ayrapetyan
2014-10-23 15:46:42 +04:00
parent 6b06cef1c8
commit 7f4a70ccb5
5 changed files with 498 additions and 96 deletions
+1 -1
View File
@@ -31,7 +31,7 @@ var very_close_to_1_but_less = 0.999999;
assert( very_close_to_1_but_less < 1.0 );
assert( Math.log (very_close_to_1_but_less) <= 0.0 );
assert( Math.log (very_close_to_1_but_less) >= -0.000001 );
assert( Math.log (very_close_to_1_but_less) >= -0.00001 );
assert( Math.log (2.7182818284590452354) >= 0.999999 );
assert( Math.log (2.7182818284590452354) <= 1.000001 );