From 24b8e97e4656963b3aa0836d34f0e4c3c10c7d23 Mon Sep 17 00:00:00 2001 From: tdurieux Date: Tue, 7 Mar 2017 13:22:49 +0100 Subject: [PATCH] fixed files form Closure #51 --- .../Closure/51/com/google/javascript/jscomp/CodeConsumer.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/projects/Closure/51/com/google/javascript/jscomp/CodeConsumer.java b/projects/Closure/51/com/google/javascript/jscomp/CodeConsumer.java index d9ff87a..3a66750 100644 --- a/projects/Closure/51/com/google/javascript/jscomp/CodeConsumer.java +++ b/projects/Closure/51/com/google/javascript/jscomp/CodeConsumer.java @@ -238,7 +238,7 @@ void addNumber(double x) { add(" "); } - if ((long) x == x) { + if ((long) x == x && !isNegativeZero(x)) { long value = (long) x; long mantissa = value; int exp = 0;