diff options
author | Alon Zakai <alonzakai@gmail.com> | 2012-04-02 13:55:49 -0700 |
---|---|---|
committer | Alon Zakai <alonzakai@gmail.com> | 2012-04-02 13:55:49 -0700 |
commit | f4beeea04076474d9692e408e3ae74a43b84d101 (patch) | |
tree | f40824fbb78edf802d9731fc36e7e2cd755b69a1 /src/settings.js | |
parent | d061071c37db687389e2f8aad64741d1ce9a2ad0 (diff) |
make precise i64 math the default
Diffstat (limited to 'src/settings.js')
-rw-r--r-- | src/settings.js | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/settings.js b/src/settings.js index ede00dd5..15c92176 100644 --- a/src/settings.js +++ b/src/settings.js @@ -67,9 +67,8 @@ var DOUBLE_MODE = 1; // How to load and store 64-bit doubles. Without typed arra // then load it aligned, and that load-store will make JS engines alter it if it is being // stored to a typed array for security reasons. That will 'fix' the number from being a // NaN or an infinite number. -var PRECISE_I64_MATH = 0; // If enabled, i64 addition etc. is emulated - which is slow but precise. If disabled, +var PRECISE_I64_MATH = 1; // If enabled, i64 addition etc. is emulated - which is slow but precise. If disabled, // we use the 'double trick' which is fast but incurs rounding at high values. - // Note that precise math currently only handles *signed* values, not unsigned var CLOSURE_ANNOTATIONS = 0; // If set, the generated code will be annotated for the closure // compiler. This potentially lets closure optimize the code better. |