lua-users home
lua-l archive

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


In message <20071005163159.GA36927@dspnet.fr.eu.org> you wrote:
>
> If you cover the complex plane with squares build from the vector
> between the origin and b, this idiv gives you the square coordinates.
> >From that you can get the remainder which tells you the position of a
> from the "origin corner" of the square.
>
> Not sure if it's useful for anything though.

Google "Gausian Integers" to find out.

-- 
Gavin Wraith (gavin@wra1th.plus.com)
Home page: http://www.wra1th.plus.com/