Division (mathematics) - Wikipedia
https://en.wikipedia.org/wiki/Division_(mathematics)Of complex numbers Dividing two complex numbers (when the divisor is nonzero) results in another complex number, which is found using the conjugate of the denominator: This process of multiplying and dividing by is called 'realisation' or (by analogy) rationalisation. All four quantities p, q, r, s are real numbers, and r and s may not both be 0.
Complex number - Wikipedia
https://en.wikipedia.org/wiki/Complex_numberA complex number is a number of the form a + bi, where a and b are real numbers, and i is an indeterminate satisfying i 2 = −1.For example, 2 + 3i is a complex number. This way, a complex number is defined as a polynomial with real coefficients in the single indeterminate i, for which the relation i 2 + 1 = 0 is imposed. Based on this definition, complex numbers can be added and …
c - Complex Division - Stack Overflow
https://stackoverflow.com/questions/42564316In the third place, Divide_Complex () performs integer division when it divides components of your complex numbers, necessarily affording integer results. That's OK in the sense that your complex data type can hold only integer components anyway, but it cannot yield results close to what you are expecting. But fourth, you've coded the math wrong.