summaryrefslogtreecommitdiff
path: root/ext/standard/math.c
diff options
context:
space:
mode:
authorAnatol Belski <ab@php.net>2014-10-03 22:17:02 +0200
committerAnatol Belski <ab@php.net>2014-10-03 22:18:21 +0200
commite9b23401514a642b58084784305c1d19cf86a823 (patch)
tree344e5fde1190893c4dda5571af641330cafc8433 /ext/standard/math.c
parentb68886f7b531976e41b8a66baabebbabc79bd1f2 (diff)
downloadphp-git-e9b23401514a642b58084784305c1d19cf86a823.tar.gz
fix asinh delivering -0 when the arg is 0
Diffstat (limited to 'ext/standard/math.c')
-rw-r--r--ext/standard/math.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/ext/standard/math.c b/ext/standard/math.c
index 4185cd48f4..7014e6c938 100644
--- a/ext/standard/math.c
+++ b/ext/standard/math.c
@@ -220,7 +220,7 @@ static double php_asinh(double z)
return(asinh(z));
#else
# ifdef _WIN64
- if (z > 0) {
+ if (z >= 0) {
return log(z + sqrt(z * z + 1));
}
else {