Re: [Rd] problem with display of complex number

2018-07-19 Thread Martin Maechler
TL;DR : It's more complicated and needs more discussion (which I start below) > Hi, > > 1e10+5i > [1] 1e+10+0e+00i > > Im(1e10+5i) > [1] 5 > > maybe little better... > > --- R-3.5.1.orig/src/main/complex.c2018-03-26 07:02:25.0 +0900 > +++ R-3.5.1/src/main/complex.c2018-

[Rd] problem with display of complex number

2018-07-09 Thread Ei-ji Nakama
Hi, > 1e10+5i [1] 1e+10+0e+00i > Im(1e10+5i) [1] 5 maybe little better... --- R-3.5.1.orig/src/main/complex.c2018-03-26 07:02:25.0 +0900 +++ R-3.5.1/src/main/complex.c2018-07-10 12:50:42.523874767 +0900 @@ -381,6 +381,7 @@ r->i = fround(pow10 * x->i, digits)/pow10; } el