[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Octave-bug-tracker] [bug #33955] fscanf with -NaN, -Inf, -NA
From: |
kloof |
Subject: |
[Octave-bug-tracker] [bug #33955] fscanf with -NaN, -Inf, -NA |
Date: |
Fri, 05 Aug 2011 12:58:08 +0000 |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/534.30 (KHTML, like Gecko) Ubuntu/11.04 Chromium/12.0.742.112 Chrome/12.0.742.112 Safari/534.30 |
URL:
<http://savannah.gnu.org/bugs/?33955>
Summary: fscanf with -NaN, -Inf, -NA
Project: GNU Octave
Submitted by: kloof
Submitted on: Fri 05 Aug 2011 12:58:07 GMT
Category: Interpreter
Severity: 3 - Normal
Priority: 5 - Normal
Item Group: Feature Request
Status: None
Assigned to: None
Originator Name:
Originator Email:
Open/Closed: Open
Discussion Lock: Any
Release: 3.4.0
Operating System: GNU/Linux
_______________________________________________________
Details:
Reading files with fscanf doesn't work with the negative version of "NaN". I
assume the same holds for "Inf" and "NA".
The positive version were addressed in:
http://octave.1599824.n4.nabble.com/reading-NaN-with-fscanf-td1622767.html
Can be done for the negative versions as well? Should this be done in the same
block of oct-stream.cc as describe above, or does octave already assume it's a
number when the first character is a '-'?
BTW: I think -Inf makes sense, but -NaN and -NA don't. But people put those
values in data files anyway.
_______________________________________________________
Reply to this item at:
<http://savannah.gnu.org/bugs/?33955>
_______________________________________________
Message sent via/by Savannah
http://savannah.gnu.org/
- [Octave-bug-tracker] [bug #33955] fscanf with -NaN, -Inf, -NA,
kloof <=