diff options
Diffstat (limited to 'src/preamble.js')
-rw-r--r-- | src/preamble.js | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/preamble.js b/src/preamble.js index 847d2d95..eaa02c90 100644 --- a/src/preamble.js +++ b/src/preamble.js @@ -129,7 +129,8 @@ function cRound(x) { //======================================== // Debugging tools - Mathop overflows //======================================== -function CHECK_OVERFLOW(value, bits) { +function CHECK_OVERFLOW(value, bits, ignore) { + if (ignore) return value; if (value === Infinity || value === -Infinity || Math.abs(value) >= Math.pow(2, bits)) { CorrectionsMonitor.note('Overflow'); } |