diff options
| author | Anatol Belski <ab@php.net> | 2014-10-03 22:17:02 +0200 |
|---|---|---|
| committer | Anatol Belski <ab@php.net> | 2014-10-03 22:18:21 +0200 |
| commit | e9b23401514a642b58084784305c1d19cf86a823 (patch) | |
| tree | 344e5fde1190893c4dda5571af641330cafc8433 | |
| parent | b68886f7b531976e41b8a66baabebbabc79bd1f2 (diff) | |
| download | php-git-e9b23401514a642b58084784305c1d19cf86a823.tar.gz | |
fix asinh delivering -0 when the arg is 0
| -rw-r--r-- | ext/standard/math.c | 2 |
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 { |
