[Date Prev][Date Next][Thread Prev][Thread Next]
[Date Index]
[Thread Index]
- Subject: Re: Integer division
- From: Roberto Ierusalimschy <roberto@...>
- Date: Thu, 22 Nov 2012 09:24:14 -0200
> Allowing int64- literals ("local v = 5ll or 5ull") and always (!!)
> coercing *all* operands (and the result) to integer type would be
> enough, and things would stay as clear and intuitive as they are
I guess I did not understand your proposal. "always coercing *all*
operands"? Always? all? Doesn't that mean that "5/2 == 2"?
-- Roberto
- References:
- Re: Integer division, Roberto Ierusalimschy
- Re: Integer division, Egor Skriptunoff
- Re: Integer division, Sven Olsen
- Re: Integer division, Roberto Ierusalimschy
- Re: Integer division, Jay Carlson
- Re: Integer division, Roberto Ierusalimschy
- Re: Integer division, Jay Carlson
- Re: Integer division, Roberto Ierusalimschy
- Re: Integer division, Jay Carlson
- Re: Integer division, Wolfgang Pupp