]> granicus.if.org Git - php/commitdiff
rename math_std_dev to math_standard_deviation (the API wasn't published
authorAndrey Hristov <andrey@php.net>
Tue, 10 May 2005 12:50:53 +0000 (12:50 +0000)
committerAndrey Hristov <andrey@php.net>
Tue, 10 May 2005 12:50:53 +0000 (12:50 +0000)
yet)

ext/standard/basic_functions.c
ext/standard/math.c
ext/standard/php_math.h

index 047982d43bf69db08bb61dbfcdd03d7c188afb4c..d524f159a78c0dc3119a71ec9d8cb6713c6539dc 100644 (file)
@@ -415,7 +415,7 @@ function_entry basic_functions[] = {
        PHP_FE(base_convert,                                                                                                    NULL)
        PHP_FE(number_format,                                                                                                   NULL)
        PHP_FE(fmod,                                                                                                                    NULL)
-       PHP_FE(math_std_dev,                                                                                                    NULL)
+       PHP_FE(math_standard_deviation,                                                                                                 NULL)
        PHP_FE(math_variance,                                                                                                   NULL)
 #ifdef HAVE_INET_NTOP
        PHP_NAMED_FE(inet_ntop,         php_inet_ntop,                                                                                  NULL)
index 68a61ddfbea45ad80c44d0fbecc1d4f7b0f32f0a..62bce3338937351071c17ad3d8fa6d249c25e91e 100644 (file)
@@ -1193,9 +1193,9 @@ PHP_FUNCTION(math_variance)
 }
 /* }}} */
 
-/* {{{ proto float math_std_dev(array a [, bool sample])
+/* {{{ proto float math_standard_deviation(array a[, bool sample = false])
    Returns the standard deviation */
-PHP_FUNCTION(math_std_dev)
+PHP_FUNCTION(math_standard_deviation)
 {
        zval *arr;
        zend_bool sample = 0;
index 385f34b142dae6cb881cea19127affa989d23b92..70c30a8a68738f5dd74a25ecffb52a53bf357c3c 100644 (file)
@@ -59,7 +59,7 @@ PHP_FUNCTION(octdec);
 PHP_FUNCTION(base_convert);
 PHP_FUNCTION(number_format);
 PHP_FUNCTION(fmod);
-PHP_FUNCTION(math_std_dev);
+PHP_FUNCTION(math_standard_deviation);
 PHP_FUNCTION(math_variance);
 PHP_FUNCTION(deg2rad);
 PHP_FUNCTION(rad2deg);