* Zefram <zefram@fysh.org> [2015-06-23T09:59:09] > Ricardo Signes wrote: > > My tentative thinking is: > > > > * right shifting by "a whole lot" gets you to zero > > * left shifting by a large enough value warns and keeps its current behavior > > Why should these two be different? Seems very strange to me to > handle overlong shifts in two radically different ways depending on > the direction. I think they're being treated in the same way, insofar as that way is "leave it mostly be." Like I said, I'd rather treat them the same way: as repeated integer doubling/halving, but unless we start promoting to big numbers, I don't think the half measure we could take now would be worth it. I think exposing the underlying representation would be a bit much. Anyway, "use integer" is meant to do that. -- rjbsThread Previous | Thread Next