(Free42) roundoff for complex SQRT

02122021, 07:44 PM
Post: #22




RE: (Free42) roundoff for complex SQRT
(02122021 02:45 PM)Werner Wrote: When X = 0+iB, SQRT(X) should have equal real and imaginary parts (apart from the sign). 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. 

« Next Oldest  Next Newest »

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