Ticket #981 (closed defect: fixed)

Opened 12 months ago

Last modified 12 months ago

sqrt of complex with zero imaginary part

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

Description

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

The realpart of the result should be zero.

Change History

Changed 12 months 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.