Skip to content

Commit

Permalink
comment cleanup
Browse files Browse the repository at this point in the history
  • Loading branch information
divinity76 committed Sep 20, 2024
1 parent 092b17b commit 13ae1f8
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions ext/standard/formatted_print.c
Original file line number Diff line number Diff line change
Expand Up @@ -248,9 +248,6 @@ php_sprintf_appenddouble(zend_string **buffer, size_t *pos,
if (zend_isinf(number)) {
is_negative = (number<0);
if (is_negative) {
// ideally negative should have been handled inside php_sprintf_appendstring ,
// but the code is difficult to debug, and it's easy to break stuff inside there (I tried, I broke stuff),
// handling it here is much easier..
php_sprintf_appendstring(buffer, pos, "-INF", 4, 0, padding,
alignment, 4, is_negative, 0, always_sign);
} else {
Expand Down

0 comments on commit 13ae1f8

Please sign in to comment.