Merge pull request #103 from zpratt/fix-coefficient-issue-on-old-ipads
Apply the proposed change from @MikeMcl to fix an issue on old ipads
This commit is contained in:
commit
e9c598ab82
|
@ -1859,7 +1859,7 @@
|
||||||
// Only start adding at yc.length - 1 as the further digits of xc can be ignored.
|
// Only start adding at yc.length - 1 as the further digits of xc can be ignored.
|
||||||
for ( a = 0; b; ) {
|
for ( a = 0; b; ) {
|
||||||
a = ( xc[--b] = xc[b] + yc[b] + a ) / BASE | 0;
|
a = ( xc[--b] = xc[b] + yc[b] + a ) / BASE | 0;
|
||||||
xc[b] %= BASE;
|
xc[b] = BASE === xc[b] ? 0 : xc[b] % BASE;
|
||||||
}
|
}
|
||||||
|
|
||||||
if (a) {
|
if (a) {
|
||||||
|
|
Loading…
Reference in New Issue