[Date Prev][Date Next][Thread Prev][Thread Next]
[Date Index]
[Thread Index]
- Subject: Re: Integer division
- From: Rena <hyperhacker@...>
- Date: Thu, 22 Nov 2012 02:36:31 -0500
On Thu, Nov 22, 2012 at 2:23 AM, Dirk Laurie <dirk.laurie@gmail.com> wrote:
> 2012/11/22 Egor Skriptunoff <egor.skriptunoff@gmail.com>:
>
>>
>> I have an idea.
>> Strings can be treated as integer numbers of arbitrary length.
>> It will be cool to have very-long-integer arithmetic in Lua
>> without external libraries.
>>
>
> The comparison operators are not compatible with negative
> integers.
>
I don't think I've heard much mention of how signed/unsigned will
work. Ideally we could have both, but that starts to seem even more
complicated...
--
Sent from my Game Boy.
- 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, Egor Skriptunoff
- Re: Integer division, Dirk Laurie