lua-users home
lua-l archive

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


Perhaps you are mixing concepts between modulus of an integer number
and modulus of a complex one. Both are not related. For an integer number
modulus is related to the rest of quotient. For a complex one it is
a norm: for z = a+bi is |z| = sqrt{a^2+b^2}. As you see both definitions
have not relationship.