POSITIVE_INFINITY, NEGATIVE_INFINITY fixed.
+other minor bugs