[Top][All Lists]

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

[Octave-bug-tracker] [bug #41307] round(-0.1) returns -0

From: Mark van Rossum
Subject: [Octave-bug-tracker] [bug #41307] round(-0.1) returns -0
Date: Wed, 22 Jan 2014 16:36:27 +0000
User-agent: Opera/9.80 (X11; Linux x86_64) Presto/2.12.388 Version/12.16


                 Summary: round(-0.1) returns -0
                 Project: GNU Octave
            Submitted by: cosine
            Submitted on: Wed 22 Jan 2014 04:36:26 PM GMT
                Category: Octave Function
                Severity: 3 - Normal
                Priority: 5 - Normal
              Item Group: None
                  Status: None
             Assigned to: None
         Originator Name: 
        Originator Email: 
             Open/Closed: Open
         Discussion Lock: Any
                 Release: 3.6.4
        Operating System: GNU/Linux



As the title says
round(-0.1) returns -0
I would have expected 0.

'-0' does not exist I would say, although I could imagine that in some cases
this behaviour is useful. 

Octave 3.6.4 on Fedora 20


Reply to this item at:


  Message sent via/by Savannah

reply via email to

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