Post Reply 
(Free42) roundoff for complex SQRT
02-12-2021, 07:44 PM
Post: #22
RE: (Free42) roundoff for complex SQRT
(02-12-2021 02:45 PM)Werner Wrote:  When X = 0+iB, SQRT(X) should have equal real and imaginary parts (apart from the sign).
But that is (still) not the case.

I don't think that is something I ever tested. I implemented your algorithm in 2.0.21 and verified that it gave the desired result for 0+iB when B/2 is a perfect square... I suppose this means an explicit check for Re(X)=0 will be needed after all.
Visit this user's website Find all posts by this user
Quote this message in a reply
Post Reply 


Messages In This Thread
RE: (Free42) roundoff for complex SQRT - Thomas Okken - 02-12-2021 07:44 PM



User(s) browsing this thread: 1 Guest(s)