Skip to content

Commit

Permalink
typo
Browse files Browse the repository at this point in the history
  • Loading branch information
zgrguric committed Mar 28, 2024
1 parent 9d212f1 commit e49d57a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Utilities/Util.php
Original file line number Diff line number Diff line change
Expand Up @@ -95,7 +95,7 @@ public static function ieee754FloatFromBytes(array $bytes): float|null|bool
}
} else if (\preg_match('/^1+$/', $e)) { //regexp: allones
// Infinity or NaN
if(\preg_match('/^0+$/', $m)) { //regexp: allones
if(\preg_match('/^0+$/', $m)) { //regexp: allzeros
$value = true; //Infinity
} else {
$value = null; //NaN
Expand Down

0 comments on commit e49d57a

Please sign in to comment.