|
From: | Michael D Godfrey |
Subject: | Re: imag () function detail regarding -0.0000 |
Date: | Tue, 11 Sep 2012 21:21:07 -0400 |
User-agent: | Mozilla/5.0 (X11; Linux x86_64; rv:15.0) Gecko/20120828 Thunderbird/15.0 |
On 09/11/2012 08:53 PM, Daniel J Sebald
wrote:
On 09/11/2012 07:15 PM, Jordi Gutiérrez Hermoso wrote:Matlab says: ans = 0 + 1.0000i 0 - 1.0000i 0 For once, I go with Matlab. -0 implies (as in ones-complement) there are 2 representations of 0. But, there are not in nearly all modern (twos-complement) machines. Whatever causes -0 to be displayed should be fixed. |
[Prev in Thread] | Current Thread | [Next in Thread] |