[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/
- [Octave-bug-tracker] [bug #40668] -NA is inconsistent with other operations on NA,
Daniel Kraft <=
- [Octave-bug-tracker] [bug #40668] -NA is inconsistent with other operations on NA, Daniel Kraft, 2013/11/22
- [Octave-bug-tracker] [bug #40668] -NA is inconsistent with other operations on NA, Daniel Kraft, 2013/11/22
- [Octave-bug-tracker] [bug #40668] -NA is inconsistent with other operations on NA, Mike Miller, 2013/11/22
- [Octave-bug-tracker] [bug #40668] -NA is inconsistent with other operations on NA, Mike Miller, 2013/11/22
- [Octave-bug-tracker] [bug #40668] -NA is inconsistent with other operations on NA, John W. Eaton, 2013/11/22
- [Octave-bug-tracker] [bug #40668] -NA is inconsistent with other operations on NA, Daniel Kraft, 2013/11/22
- [Octave-bug-tracker] [bug #40668] -NA is inconsistent with other operations on NA, Jordi GutiƩrrez Hermoso, 2013/11/24
- [Octave-bug-tracker] [bug #40668] -NA is inconsistent with other operations on NA, John W. Eaton, 2013/11/24