summaryrefslogtreecommitdiff
path: root/ext/bcmath/libbcmath/src/zero.c
diff options
context:
space:
mode:
authorChristoph M. Becker <cmbecker69@gmx.de>2017-09-09 18:41:59 +0200
committerChristoph M. Becker <cmbecker69@gmx.de>2017-09-09 18:41:59 +0200
commitd1e82b39e2c87961565da9f5b869829dd0da0437 (patch)
treed482988fd34bbddf20b628a3746aac8957b0e40b /ext/bcmath/libbcmath/src/zero.c
parent65b575134fe286b2ce8b23181eb70f0ecda5ac16 (diff)
downloadphp-git-d1e82b39e2c87961565da9f5b869829dd0da0437.tar.gz
Optimize truncation to zero scale in bc_raisemod()
There's no need to use a division by one to truncate to zero scale; instead we introduce and use `_bc_truncate()`, what is more efficient.
Diffstat (limited to 'ext/bcmath/libbcmath/src/zero.c')
0 files changed, 0 insertions, 0 deletions