Fast Complex Division.
craig@jcb-sc.com
craig@jcb-sc.com
Fri Apr 30 22:47:00 GMT 1999
>Besides, reading Numerical Recipes on complex arithmetic, they scared me
>with another thing I hadn't given a thought: One needs to choose a
>branch for taking "the" square root of a complex number (goes to show
>that I never use complex arithmetic - duh!):
>
> There are two solutions to: z1^2 = z2
Dunno if this is what you're referring to (I really don't "do math"
much, not since high school anyway)...from Fortran 90 standard on SQRT:
"A result of type complex is the principle value with the real part
greater than or equal to zero."
tq vm, (burley)
More information about the Gcc-patches
mailing list