fix (2⋆25)/(2⋆10)⥊10
This commit is contained in:
parent
863da7083f
commit
61e068086e
@ -743,7 +743,8 @@ B slash_c2(B t, B w, B x) {
|
|||||||
goto decX_ret;
|
goto decX_ret;
|
||||||
}
|
}
|
||||||
if (xlen == 0) return x;
|
if (xlen == 0) return x;
|
||||||
usz s = xlen * wv;
|
usz s = xlen;
|
||||||
|
if (mulOn(s, wv)) thrOOM();
|
||||||
if (xl>6 || (xl<3 && xl!=0) || TI(x,elType)==el_B) {
|
if (xl>6 || (xl<3 && xl!=0) || TI(x,elType)==el_B) {
|
||||||
B xf = getFillR(x);
|
B xf = getFillR(x);
|
||||||
if (xr!=1) {
|
if (xr!=1) {
|
||||||
|
|||||||
3
test/cases/usz32.bqn
Normal file
3
test/cases/usz32.bqn
Normal file
@ -0,0 +1,3 @@
|
|||||||
|
!"Out of memory" % a←(2⋆20) ⥊ 1e9 ⋄ {𝕊: a}˘ a
|
||||||
|
!"⥊: 𝕨 too large" % a←(2⋆20) ⥊ 1e9 ⋄ a˘ a
|
||||||
|
!"Out of memory" % (2⋆25)/(2⋆10)⥊10
|
||||||
Loading…
Reference in New Issue
Block a user