On 31.03.2017 19:15, Berend Hasselman wrote:

I have noted a difference between R on macOS en on Kubuntu Trusty (64bits) with 
complex division.
I don't know what would happen R on Windows.

R.3.3.3:

macOS (10.11.6)
-----------------
(1+2i)/0
[1] NaN+NaNi
(-1+2i)/0
[1] NaN+NaNi

1i/0
[1] NaN+NaNi
1i/(0+0i)
[1] NaN+NaNi


KubuntuTrusty
-----------------
(1+2i)/0
[1] Inf+Infi
(-1+2i)/0
[1] -Inf+Infi

1i/0
[1] NaN+Infi
1i/(0+0i)
[1] NaN+Infi

Interesting to see what R on Windows delivers.

Same as KubuntuTrusty and what I would expect.

Best,
Uwe Ligges




Berend Hasselman

______________________________________________
R-help@r-project.org mailing list -- To UNSUBSCRIBE and more, see
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
and provide commented, minimal, self-contained, reproducible code.


______________________________________________
R-help@r-project.org mailing list -- To UNSUBSCRIBE and more, see
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
and provide commented, minimal, self-contained, reproducible code.

Reply via email to