fix squeezing of ¯2147483648
This commit is contained in:
parent
4bdc1ec3cd
commit
ecb8af658b
@ -512,8 +512,8 @@ B num_squeeze(B x) {
|
|||||||
or|= c<0?-c:c;
|
or|= c<0?-c:c;
|
||||||
}
|
}
|
||||||
r_or:
|
r_or:
|
||||||
if (or<=I8_MAX ) goto r_i8;
|
if (or>=0 && or<=I8_MAX ) goto r_i8;
|
||||||
else if (or<=I16_MAX) goto r_i16;
|
else if (or>=0 && or<=I16_MAX) goto r_i16;
|
||||||
else goto r_i32;
|
else goto r_i32;
|
||||||
|
|
||||||
r_x : return FL_SET(x, fl_squoze);
|
r_x : return FL_SET(x, fl_squoze);
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user