mirror of https://github.com/svaarala/duktape.git
Sami Vaarala
12 years ago
2 changed files with 29612 additions and 0 deletions
File diff suppressed because it is too large
@ -0,0 +1,18 @@ |
|||
|
|||
/*=== |
|||
1e+23 |
|||
===*/ |
|||
|
|||
function miscTest() { |
|||
// Burger, Dybvig: "Printing Floating-Point Numbers Quickly
|
|||
// and Accurately", section 3.1. IEEE round-to-even allows
|
|||
// this to be printed as "1e+23" instead of "9.999...".
|
|||
print(1e23); |
|||
} |
|||
|
|||
try { |
|||
miscTest(); |
|||
} catch (e) { |
|||
print(e); |
|||
} |
|||
|
Loading…
Reference in new issue