aboutsummaryrefslogtreecommitdiff
path: root/src/settings.js
diff options
context:
space:
mode:
authorAlon Zakai <alonzakai@gmail.com>2013-08-11 21:57:15 -0700
committerAlon Zakai <alonzakai@gmail.com>2013-08-11 21:57:15 -0700
commit8cb83003709aa90a3410b6352552342ec97d5116 (patch)
tree1b8cb216f7f9bc3b2bba5799e1d8261b28b6513b /src/settings.js
parent5bb74d2c5ed57a7b52e1a3d01404edfb7a9945ea (diff)
experimental toFloat32 option
Diffstat (limited to 'src/settings.js')
-rw-r--r--src/settings.js1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/settings.js b/src/settings.js
index 3515091d..3ecac040 100644
--- a/src/settings.js
+++ b/src/settings.js
@@ -108,6 +108,7 @@ var PRECISE_I64_MATH = 1; // If enabled, i64 addition etc. is emulated - which i
var PRECISE_I32_MUL = 1; // If enabled, i32 multiplication is done with full precision, which means it is
// correct even if the value exceeds the JS double-integer limit of ~52 bits (otherwise,
// rounding will occur above that range).
+var TO_FLOAT32 = 0; // Use Math.toFloat32
var CLOSURE_ANNOTATIONS = 0; // If set, the generated code will be annotated for the closure
// compiler. This potentially lets closure optimize the code better.