Path: utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!wuarchive!psuvax1!swatsun!news From: res90@campus.swarthmore.edu Newsgroups: comp.sys.mac.programmer Subject: MPW C++ Complex SQRT bug? Message-ID: <40DNGVW@cs.swarthmore.edu> Date: 1 Aug 90 22:00:27 GMT Sender: news@cs.swarthmore.edu Organization: Swarthmore College Lines: 14 Has anyone had trouble with the sqrt function in the complex numbers library in MPW c++? I get sign error on the result of calls on values in the third and fourth quadrent. Is this just differently defined or what? try complex z(-1,-1); cout << sqrt(z); for example. rob smith swarthmore college RES90@campus.swarthmore.edu