Skip to content

Commit 0ba8db4

Browse files
wip2
1 parent ad128ea commit 0ba8db4

File tree

1 file changed

+1
-1
lines changed
  • ext/bcmath/libbcmath/src

1 file changed

+1
-1
lines changed

ext/bcmath/libbcmath/src/sqrt.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -120,7 +120,7 @@ bool bc_sqrt(bc_num *num, size_t scale)
120120
char *rptr = ret->n_value;
121121
char *rend = rptr + ret_ren + rscale - 1;
122122

123-
for (i = 0; i < cscale - cscale - rscale; i++) {
123+
for (i = 0; i < cscale - rscale; i++) {
124124
guess_vector /= BASE;
125125
}
126126
while (rend >= rptr) {

0 commit comments

Comments
 (0)