From bf1f64467d84113e5f66b7d7e8f879ec581bd25f Mon Sep 17 00:00:00 2001 From: Felix De Vliegher Date: Wed, 29 Oct 2008 21:43:30 +0000 Subject: [PATCH] Fix typo. --- ext/standard/math.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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; -- 2.50.1