diff options
author | Felipe Pena <felipe@php.net> | 2010-08-06 22:21:13 +0000 |
---|---|---|
committer | Felipe Pena <felipe@php.net> | 2010-08-06 22:21:13 +0000 |
commit | 7e8ec822a5c53f5d677e0f44e103170d8523b3d3 (patch) | |
tree | 516ad8837e964178c30bc72fceaa981f2fd26920 | |
parent | 97317c7b1e1cd2035197adf68d90875270c04b4f (diff) | |
download | php-git-7e8ec822a5c53f5d677e0f44e103170d8523b3d3.tar.gz |
- Fix build
-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 9ee15dbc7b..accddaa0bb 100644 --- a/ext/standard/math.c +++ b/ext/standard/math.c @@ -691,7 +691,7 @@ PHP_FUNCTION(log) RETURN_FALSE; } if (base == 1) { - RETURN_DOUBLE(NAN); + RETURN_DOUBLE(php_get_nan()); } else { RETURN_DOUBLE(log(num) / log(base)); } |