Ticket #828 (closed defect: fixed)
atan branch cuts wrong?
|Reported by:||rtoy||Owned by:||rme|
|Component:||ANSI CL Compliance||Version:||trunk|
Description (last modified by rme) (diff)
In ccl 1.6 (32-bit), we get
1> (atan #c(-1d-20 2d0)) #C(-1.5707963267948966D0 0.5493061443340549D0)
This is right, I think. However,
2> (atan #c(-0d0 2d0)) #C(1.5707963267948966D0 0.5493061443340549D0)
The spec says that on the imaginary axis above i, atan is continuous on Quadrant II. Since float-sign -0d0) -> -1d0, both answers should have the same sign for the realpart.
- Status changed from closed to reopened
- Resolution duplicate deleted