]> granicus.if.org Git - php/commitdiff
Renamed bc_powmod to bcpowmod to keep it inline with existing module
authorSara Golemon <pollita@php.net>
Wed, 11 Dec 2002 16:28:16 +0000 (16:28 +0000)
committerSara Golemon <pollita@php.net>
Wed, 11 Dec 2002 16:28:16 +0000 (16:28 +0000)
functions.  Fixed whitespace problem.

ext/bcmath/bcmath.c
ext/bcmath/php_bcmath.h

index 7c78e91ed7678cba4f1fc12cd19f883b24b79f3c..28940e6c5a123d0287f461d34d5b44c8bc4e6e75 100644 (file)
@@ -42,7 +42,7 @@ function_entry bcmath_functions[] = {
        PHP_FE(bcsqrt,                                                                  NULL)
        PHP_FE(bcscale,                                                                 NULL)
        PHP_FE(bccomp,                                                                  NULL)
-       PHP_FE(bc_powmod,                                                               NULL)
+       PHP_FE(bcpowmod,                                                                NULL)
        {NULL, NULL, NULL}
 };
 
@@ -330,9 +330,9 @@ PHP_FUNCTION(bcmod)
 }
 /* }}} */
 
-/* {{{ proto string bc_powmod(string x, string y, string mod [, int scale])
+/* {{{ proto string bcpowmod(string x, string y, string mod [, int scale])
    Returns the value of an arbitrary precision number raised to the power of another reduced by a modulous */
-PHP_FUNCTION(bc_powmod)
+PHP_FUNCTION(bcpowmod)
 {
        char *left, *right, *modulous;
        int left_len, right_len, modulous_len;
@@ -340,7 +340,7 @@ PHP_FUNCTION(bc_powmod)
        int scale=bc_precision;
 
        if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "sss|l", &left, &left_len, &right, &right_len, &modulous, &modulous_len, &scale) == FAILURE) {
-               WRONG_PARAM_COUNT;
+               WRONG_PARAM_COUNT;
        }
 
        bc_init_num(&first TSRMLS_CC);
index f7036a4bbdad7b80ac5446eba889daf85c023a06..108a847b4725da23b530b207ce871da1adf44115 100644 (file)
@@ -60,7 +60,7 @@ PHP_FUNCTION(bcpow);
 PHP_FUNCTION(bcsqrt);
 PHP_FUNCTION(bccomp);
 PHP_FUNCTION(bcscale);
-PHP_FUNCTION(bc_powmod);
+PHP_FUNCTION(bcpowmod);
 
 #else