|
| From: | Philip Nienhuis |
| Subject: | [Octave-bug-tracker] [bug #42528] textscan: complex numbers are incorrectly processed when format is empty |
| Date: | Mon, 09 Jun 2014 19:31:30 +0000 |
| User-agent: | Mozilla/5.0 (Windows NT 5.1; rv:29.0) Gecko/20100101 Firefox/29.0 SeaMonkey/2.26 |
Follow-up Comment #2, bug #42528 (project octave):
Hmmm well just one thing: strread.m (textscan's workhorse-behind-the-scenes)
does it right. That's at least a clue.:
octave:1> strread ('1i')
ans = 0 + 1i
octave:2> strread ('1i', '')
ans = 0 + 1i
octave:3>
_______________________________________________________
Reply to this item at:
<http://savannah.gnu.org/bugs/?42528>
_______________________________________________
Message sent via/by Savannah
http://savannah.gnu.org/
| [Prev in Thread] | Current Thread | [Next in Thread] |