[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Octave-bug-tracker] [bug #39773] num2str doesn't handle exceptional val
From: |
Dan Sebald |
Subject: |
[Octave-bug-tracker] [bug #39773] num2str doesn't handle exceptional values in complex numbers very well |
Date: |
Mon, 12 Aug 2013 16:55:02 +0000 |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64; rv:18.0) Gecko/20100101 Firefox/18.0 SeaMonkey/2.15 |
URL:
<http://savannah.gnu.org/bugs/?39773>
Summary: num2str doesn't handle exceptional values in complex
numbers very well
Project: GNU Octave
Submitted by: sebald
Submitted on: Mon 12 Aug 2013 04:55:01 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: dev
Operating System: Any
_______________________________________________________
Details:
Here are some results for num2str() that don't look so good:
>> num2str(complex(2,Inf))
error: sprintf: invalid format specified
error: called from:
error:
/usr/local/src/octave/octave/build-gui-12/../octave/scripts/general/num2str.m
at line 161, column 9
>> num2str(complex(Inf,2))
error: sprintf: invalid format specified
error: called from:
error:
/usr/local/src/octave/octave/build-gui-12/../octave/scripts/general/num2str.m
at line 161, column 9
>> num2str(complex(2,NA))
ans = 2NAi
>> num2str(complex(2,NaN))
ans = 2NaNi
_______________________________________________________
Reply to this item at:
<http://savannah.gnu.org/bugs/?39773>
_______________________________________________
Message sent via/by Savannah
http://savannah.gnu.org/
- [Octave-bug-tracker] [bug #39773] num2str doesn't handle exceptional values in complex numbers very well,
Dan Sebald <=