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 | 232ae3df0108e616caefc91ecdf96b3e296672e1 (patch) | |
tree | a82030449e2c9b54fb0d0e0868b5b2f5a0c74651 /ext/standard/math.c | |
parent | 5b8a974886995742d7674acebed4c963d630a0c0 (diff) | |
download | php-git-232ae3df0108e616caefc91ecdf96b3e296672e1.tar.gz |
- Fix build
Diffstat (limited to 'ext/standard/math.c')
-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)); } |