Opened 8 years ago

Closed 8 years ago

#981 closed defect (fixed)

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 (1)

comment:1 Changed 8 years ago by gb

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

(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.