From: Felix De Vliegher Date: Wed, 29 Oct 2008 21:43:30 +0000 (+0000) Subject: Fix typo. X-Git-Tag: BEFORE_HEAD_NS_CHANGE~135 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=bf1f64467d84113e5f66b7d7e8f879ec581bd25f;p=php Fix typo. --- diff --git a/ext/standard/math.c b/ext/standard/math.c index dbba416fa5..90d0c7323a 100644 --- a/ext/standard/math.c +++ b/ext/standard/math.c @@ -73,7 +73,7 @@ static double php_round(double val, int places) { } } else { t = ceil(-x); - if ((t x) > 0.50000000001) { + if ((t + x) > 0.50000000001) { t -= 1.0; } t = -t;