mirror of
https://github.com/php/php-src.git
synced 2025-08-15 21:48:51 +02:00
Fix proto and indentation
This commit is contained in:
parent
14b0adba5f
commit
1650882019
1 changed files with 2 additions and 2 deletions
|
@ -577,7 +577,7 @@ PHP_FUNCTION(bccomp)
|
|||
}
|
||||
/* }}} */
|
||||
|
||||
/* {{{ proto bool bcscale(int scale)
|
||||
/* {{{ proto int bcscale([int scale])
|
||||
Sets default scale parameter for all bc math functions */
|
||||
PHP_FUNCTION(bcscale)
|
||||
{
|
||||
|
@ -591,7 +591,7 @@ PHP_FUNCTION(bcscale)
|
|||
old_scale = BCG(bc_precision);
|
||||
|
||||
if (ZEND_NUM_ARGS() == 1) {
|
||||
BCG(bc_precision) = ((int)new_scale < 0) ? 0 : new_scale;
|
||||
BCG(bc_precision) = ((int)new_scale < 0) ? 0 : new_scale;
|
||||
}
|
||||
|
||||
RETURN_LONG(old_scale);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue