mirror of
https://github.com/php/php-src.git
synced 2025-08-15 21:48:51 +02:00
ext/gmp: Remove redundant parenthesis
This commit is contained in:
parent
0b5b9472ff
commit
0800c68be6
1 changed files with 2 additions and 2 deletions
|
@ -1303,7 +1303,7 @@ ZEND_FUNCTION(gmp_perfect_square)
|
||||||
GMP_Z_PARAM_INTO_MPZ_PTR(gmpnum_a)
|
GMP_Z_PARAM_INTO_MPZ_PTR(gmpnum_a)
|
||||||
ZEND_PARSE_PARAMETERS_END();
|
ZEND_PARSE_PARAMETERS_END();
|
||||||
|
|
||||||
RETURN_BOOL((mpz_perfect_square_p(gmpnum_a) != 0));
|
RETURN_BOOL(mpz_perfect_square_p(gmpnum_a) != 0);
|
||||||
}
|
}
|
||||||
/* }}} */
|
/* }}} */
|
||||||
|
|
||||||
|
@ -1316,7 +1316,7 @@ ZEND_FUNCTION(gmp_perfect_power)
|
||||||
GMP_Z_PARAM_INTO_MPZ_PTR(gmpnum_a)
|
GMP_Z_PARAM_INTO_MPZ_PTR(gmpnum_a)
|
||||||
ZEND_PARSE_PARAMETERS_END();
|
ZEND_PARSE_PARAMETERS_END();
|
||||||
|
|
||||||
RETURN_BOOL((mpz_perfect_power_p(gmpnum_a) != 0));
|
RETURN_BOOL(mpz_perfect_power_p(gmpnum_a) != 0);
|
||||||
}
|
}
|
||||||
/* }}} */
|
/* }}} */
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue