lua-users home
lua-l archive

Re: Integer division

[Date Prev][Date Next][Thread Prev][Thread Next] [Date Index] [Thread Index]


> 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

AltStyle によって変換されたページ (->オリジナル) /