On Wed, 24 Mar 2010, William Dunlap wrote:
Should both parts of a complex number be printed
to the same precision? The imaginary part of 0
looks a bit odd when log10(real/imag) =~ getOption(digits),
but I'm not sure it is awful. Some people might
expect the same number of significant digits
I'm not sure it's awful either, but it
is surprising -- at least to my eye.
In particular, it is using the same
amount of real estate as it would to
print the right value.
Pat
On 25/03/2010 01:14, William Dunlap wrote:
Should both parts of a complex number be printed
to the same precision?
Should both parts of a complex number be printed
to the same precision? The imaginary part of 0
looks a bit odd when log10(real/imag) =~ getOption(digits),
but I'm not sure it is awful. Some people might
expect the same number of significant digits in the
two parts.
1e7+4i
[1] 1000+0i