https://issues.apache.org/ooo/show_bug.cgi?id=123071

            Bug ID: 123071
        Issue Type: DEFECT
           Summary: Several complex functions return wrong results
           Product: Calc
           Version: 4.0.0
          Hardware: PC
                OS: Windows 7
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: programming
          Assignee: [email protected]
          Reporter: [email protected]
                CC: [email protected]

Created attachment 81358
  --> https://issues.apache.org/ooo/attachment.cgi?id=81358&action=edit
IMABS bug snippet

For instance IMPOWER("1+1i";2) returns -2+3.4641i but it should be equal to 2i. 

Also, IMABS function does not take a square root. It returns the sum of the
squares of the real and imag components only. IMABS("2+2i")should be equal to
2.828... --- not 8.0.

There may be other IM___ functions but I stopped at these two. Perhaps a unit
test of all IM___ functions is in order?

-- 
You are receiving this mail because:
You are on the CC list for the bug.
You are the assignee for the bug.
You are watching all bug changes.

Reply via email to