You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Original bug ID: 4748 Reporter:@Chris00 Status: resolved (set by @xavierleroy on 2013-07-19T09:40:54Z) Resolution: suspended Priority: normal Severity: minor Version: 3.11.0 Category: standard library Related to:#8267 Monitored by:@Chris00
Bug description
This is related to bug #1817 albeit not fitting the description, thus I open a new issue.
I welcome pointers to a good tutorial on complex arithmetic using IEEE754 floats.
I can understand why you'd expect im = -0.0 in the first example, yet the "_Cmultd" reference implementation of complex multiply in ISO C99, annex G, gives im = +0.0...
Suspending this PR until we have solid background on complex IEEE754 arithmetic.
Original bug ID: 4748
Reporter: @Chris00
Status: resolved (set by @xavierleroy on 2013-07-19T09:40:54Z)
Resolution: suspended
Priority: normal
Severity: minor
Version: 3.11.0
Category: standard library
Related to: #8267
Monitored by: @Chris00
Bug description
This is related to bug #1817 albeit not fitting the description, thus I open a new issue.
Complex.mul Complex.one {Complex.re=(-1.); Complex.im = 0.0};;
Complex.div Complex.one {Complex.re=(-1.); Complex.im = 0.0};;
(note the sign of the imaginary part). I believe the second is correct while the first one should return {Complex.re = -1.; Complex.im = -0.}.
The text was updated successfully, but these errors were encountered: