andrey          Tue May 10 08:50:53 2005 EDT

  Modified files:              
    /php-src/ext/standard       basic_functions.c math.c php_math.h 
  Log:
  rename math_std_dev to math_standard_deviation (the API wasn't published
  yet)
  
  
http://cvs.php.net/diff.php/php-src/ext/standard/basic_functions.c?r1=1.713&r2=1.714&ty=u
Index: php-src/ext/standard/basic_functions.c
diff -u php-src/ext/standard/basic_functions.c:1.713 
php-src/ext/standard/basic_functions.c:1.714
--- php-src/ext/standard/basic_functions.c:1.713        Mon May  2 08:12:04 2005
+++ php-src/ext/standard/basic_functions.c      Tue May 10 08:50:53 2005
@@ -17,7 +17,7 @@
    +----------------------------------------------------------------------+
  */
 
-/* $Id: basic_functions.c,v 1.713 2005/05/02 12:12:04 andrey Exp $ */
+/* $Id: basic_functions.c,v 1.714 2005/05/10 12:50:53 andrey Exp $ */
 
 #include "php.h"
 #include "php_streams.h"
@@ -415,7 +415,7 @@
        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)
http://cvs.php.net/diff.php/php-src/ext/standard/math.c?r1=1.127&r2=1.128&ty=u
Index: php-src/ext/standard/math.c
diff -u php-src/ext/standard/math.c:1.127 php-src/ext/standard/math.c:1.128
--- php-src/ext/standard/math.c:1.127   Sat May  7 12:08:03 2005
+++ php-src/ext/standard/math.c Tue May 10 08:50:53 2005
@@ -19,7 +19,7 @@
    +----------------------------------------------------------------------+
 */
 
-/* $Id: math.c,v 1.127 2005/05/07 16:08:03 sniper Exp $ */
+/* $Id: math.c,v 1.128 2005/05/10 12:50:53 andrey Exp $ */
 
 #include "php.h"
 #include "php_math.h"
@@ -1193,9 +1193,9 @@
 }
 /* }}} */
 
-/* {{{ 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;
http://cvs.php.net/diff.php/php-src/ext/standard/php_math.h?r1=1.25&r2=1.26&ty=u
Index: php-src/ext/standard/php_math.h
diff -u php-src/ext/standard/php_math.h:1.25 
php-src/ext/standard/php_math.h:1.26
--- php-src/ext/standard/php_math.h:1.25        Mon May  2 08:12:04 2005
+++ php-src/ext/standard/php_math.h     Tue May 10 08:50:53 2005
@@ -17,7 +17,7 @@
    +----------------------------------------------------------------------+
 */
 
-/* $Id: php_math.h,v 1.25 2005/05/02 12:12:04 andrey Exp $ */
+/* $Id: php_math.h,v 1.26 2005/05/10 12:50:53 andrey Exp $ */
 
 #ifndef PHP_MATH_H
 #define PHP_MATH_H
@@ -59,7 +59,7 @@
 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);

-- 
PHP CVS Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to