Make Integer#round spec work regardless of pointer size
The spec is actually testing a behaviour stemming from NUM2INT(), and since sizeof(long)>=sizeof(int), min_long-1 always makes NUM2INT() raise RangeError.
sizeof(long)>=sizeof(int)
min_long-1
RangeError
Make Integer#round spec work regardless of pointer size
The spec is actually testing a behaviour stemming from NUM2INT(), and
since
sizeof(long)>=sizeof(int)
,min_long-1
always makes NUM2INT()raise
RangeError
.