> = math.abs( 2+3i ) 3.605551275464 -asko manel kirjoitti 5.10.2007 kello 11:10:
Hello Perhaps you are mixing concepts between modulus of an integer numberand modulus of a complex one. Both are not related. For an integer numbermodulus is related to the rest of quotient. For a complex one it isa norm: for z = a+bi is |z| = sqrt{a^2+b^2}. As you see both definitionshave not relationship. Manel