Project

General

Profile

« Previous | Next » 

Revision d08e5514

Added by alanwu (Alan Wu) 11 months ago

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.