On Thu, 6 Feb 2003, Mauricio FernáÏdez wrote: > 1 has in n n-order roots. [Correct explanation] > What should a well-behaved Complex library do about multiple roots? There's a convention which result to choose when doing exponentiation. It's an extension of the convention that sqrt(4) returns 2 and not -2. See your favourite Math Handbook. I'm not doing exponentiation of complexes with non-integer exponents, so I have no intention to investigate if complex.rb does this right (but I guess it does). A quick preliminary test might be to compare test calculation results against maple, matlab, octave, other standard math tools ("select isn't broken"). Here's a real Error in complex.rb: Complex(0,0) == :symbol raises an exception instead of returning false > PS: eqs.gsub!(/j/, "i") > My EE background haunts me :) What was their stated reason for prefering j over i? T