[Date Prev][Date Next][Thread Prev][Thread Next]
[Date Index]
[Thread Index]
- Subject: Re: Integer division
- From: GrayFace <sergroj@...>
- Date: Wed, 28 Nov 2012 07:16:33 +0700
On 23.11.2012 8:42, Rena wrote:
I once hacked up some metatable magic to allow writing pseudo-infix
operators like:
x = ((4) '<<' (3)) '|' (y)
I made it this way with a metatable:
(4):And(3):Or(y)
I didn't implement '<<', so here I replaced it with And.
--
Best regards,
Sergey Rozhenko mailto:sergroj@mail.ru
- References:
- Integer division, Dirk Laurie
- Re: Integer division, Petri Häkkinen
- 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
- Re: Integer division, liam mail
- Re: Integer division, Rena