<commit_before>diff --git a/src/com/google/javascript/jscomp/CodeConsumer.java b/src/com/google/javascript/jscomp/CodeConsumer.java
index 3a66750..d9ff87a 100644
--- a/src/com/google/javascript/jscomp/CodeConsumer.java
+++ b/src/com/google/javascript/jscomp/CodeConsumer.java
@@ -238,7 +238,7 @@ abstract class CodeConsumer {
       add(" ");
     }
 
-    if ((long) x == x && !isNegativeZero(x)) {
+    if ((long) x == x) {
       long value = (long) x;
       long mantissa = value;
       int exp = 0;<commit_msg>Fixed Closure-51 patch (fixes #225).<commit_after>diff --git a/src/com/google/javascript/jscomp/CodeConsumer.java b/src/com/google/javascript/jscomp/CodeConsumer.java
index 3a66750..d9ff87a 100644
--- a/src/com/google/javascript/jscomp/CodeConsumer.java
+++ b/src/com/google/javascript/jscomp/CodeConsumer.java
@@ -238,7 +238,7 @@ abstract class CodeConsumer {
       add(" ");
     }
 
-    if ((long) x == x && !isNegativeZero(x)) {
+    if ((long) x == x) {
       long value = (long) x;
       long mantissa = value;
       int exp = 0;
@@ -256,10 +256,7 @@ abstract class CodeConsumer {
     } else {
       add(String.valueOf(x));
     }
-  }
 
-  static boolean isNegativeZero(double x) {
-    return x == 0.0 && Math.copySign(1, x) == -1.0;
   }
 
   static boolean isWordChar(char ch) {
{'fraction_non_alphanumeric': 0.16615853658536586, 'fraction_numerical': 0.051067073170731704, 'mean_word_length': 2.8504398826979473, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '246146', 'n_tokens_mistral': 513, 'n_tokens_neox': 460, 'n_words': 92}