Displaying 1 result from an estimated 1 matches for "c39481".
Did you mean:
139481
2018 Jul 10
1
problem with display of complex number
Hi,
> 1e10+5i
[1] 1e+10+0e+00i
> Im(1e10+5i)
[1] 5
maybe little better...
--- R-3.5.1.orig/src/main/complex.c 2018-03-26 07:02:25.000000000 +0900
+++ R-3.5.1/src/main/complex.c 2018-07-10 12:50:42.523874767 +0900
@@ -381,6 +381,7 @@
r->i = fround(pow10 * x->i, digits)/pow10;
} else {
digits = (double)(dig);
+ if(digits < 1) digits=1; /* a little better */