From e7add2d36dce3a25389e359bd53e4b5ebc6160f9 Mon Sep 17 00:00:00 2001 From: Bruce Wells Date: Thu, 9 Apr 2020 22:06:58 -0400 Subject: Update documentation for PHPFUI/InstaDoc --- src/NXP/Classes/Lexer.php | 1 + 1 file changed, 1 insertion(+) (limited to 'src/NXP/Classes/Lexer.php') diff --git a/src/NXP/Classes/Lexer.php b/src/NXP/Classes/Lexer.php index cd12d21..a7fe697 100644 --- a/src/NXP/Classes/Lexer.php +++ b/src/NXP/Classes/Lexer.php @@ -155,6 +155,7 @@ class Lexer private function isNegativeZero($x) { $floatVal = floatval($x); + return $floatVal === 0.0 && $floatVal ** -1 === -INF; } } -- cgit v1.2.3