Skip to content

Commit 8c704ab

Browse files
SakiTakamachinielsdosGirgias
authored
ext/bcmath: Optimize bcdiv processing (#14660)
Co-authored-by: Niels Dossche <7771979+nielsdos@users.noreply.github.com> Co-authored-by: Gina Peter Banyard <girgias@php.net>
1 parent 7e5171d commit 8c704ab

File tree

2 files changed

+410
-174
lines changed

2 files changed

+410
-174
lines changed

ext/bcmath/libbcmath/src/bcmath.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -146,7 +146,7 @@ bc_num bc_multiply(bc_num n1, bc_num n2, size_t scale);
146146
*(result) = mul_ex; \
147147
} while (0)
148148

149-
bool bc_divide(bc_num n1, bc_num n2, bc_num *quot, int scale);
149+
bool bc_divide(bc_num n1, bc_num n2, bc_num *quot, size_t scale);
150150

151151
bool bc_modulo(bc_num num1, bc_num num2, bc_num *resul, size_t scale);
152152

0 commit comments

Comments
 (0)