Ticket #981 (closed defect: fixed)

Opened 5 years ago

Last modified 5 years ago

sqrt of complex with zero imaginary part

Reported by: gb Owned by:
Priority: normal Milestone:
Component: ANSI CL Compliance Version: trunk
Keywords: Cc:


? (sqrt #c(-382810.37 0.0))
#C(-2.7044967E-5 618.71674)

The realpart of the result should be zero.

Change History

comment:1 Changed 5 years ago by gb

  • Status changed from new to closed
  • Resolution set to fixed

(In [15407]) SQRT: handle COMPLEX arguments whose imaginary part is zero.

Fixes ticket:981 in the trunk.

Note: See TracTickets for help on using tickets.