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

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

[Octave-bug-tracker] [bug #40668] -NA is inconsistent with other operati


From: Daniel Kraft
Subject: [Octave-bug-tracker] [bug #40668] -NA is inconsistent with other operations on NA
Date: Fri, 22 Nov 2013 07:39:28 +0000
User-agent: Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:25.0) Gecko/20100101 Firefox/25.0

URL:
  <http://savannah.gnu.org/bugs/?40668>

                 Summary: -NA is inconsistent with other operations on NA
                 Project: GNU Octave
            Submitted by: domob
            Submitted on: Fri 22 Nov 2013 08:39:27 AM CET
                Category: Interpreter
                Severity: 3 - Normal
                Priority: 5 - Normal
              Item Group: Other
                  Status: None
             Assigned to: None
         Originator Name: 
        Originator Email: 
             Open/Closed: Open
         Discussion Lock: Any
                 Release: 3.6.4
        Operating System: GNU/Linux

    _______________________________________________________

Details:

Currently, -NA evaluates to NaN, while a lot of other operations on NA result
in NA.  In particular:

+NA, 0 - NA, -1 * NA, Inf * NA, 0 * NA, NA / 0, 0 / NA, and others (especially
of course less edge-case like operations, too).

See also
https://mailman.cae.wisc.edu/pipermail/help-octave/2013-November/061056.html. 
I propose that -NA should evaluate to NA to make the behaviour more
consistent.




    _______________________________________________________

Reply to this item at:

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

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




reply via email to

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