octave-bug-tracker
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Octave-bug-tracker] [bug #49633] display of "minus zero"?


From: Mike Miller
Subject: [Octave-bug-tracker] [bug #49633] display of "minus zero"?
Date: Sat, 17 Dec 2016 20:35:35 -0000
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:49.0) Gecko/20100101 Firefox/49.0

Update of bug #49633 (project octave):

                  Status:                    None => Invalid                
             Open/Closed:                    Open => Closed                 

    _______________________________________________________

Follow-up Comment #1:

Because it is not the same as positive zero.


>> signbit (0)
ans = 0
>> signbit (-0)
ans = 1


It may be equal to positive zero using the == operator, but it is not the same
value in binary floating point representation.

Asking about things like this seems better suited for the help mailing list
rather than a bug report.

    _______________________________________________________

Reply to this item at:

  <http://savannah.gnu.org/bugs/?49633>

_______________________________________________
  Message sent via/by Savannah
  http://savannah.gnu.org/




reply via email to

[Prev in Thread] Current Thread [Next in Thread]