|
| From: | Søren Hauberg |
| Subject: | [Octave-bug-tracker] [bug #31974] Interpreter fails to create complex numbers with Inf complex parts |
| Date: | Tue, 28 Dec 2010 23:30:58 +0000 |
| User-agent: | Mozilla/5.0 (X11; U; Linux i686; da-DK; rv:1.9.2.13) Gecko/20101206 Ubuntu/10.10 (maverick) Firefox/3.6.13 |
Follow-up Comment #3, bug #31974 (project octave):
Using Matlab 7.10.0.499 (R2010a) I see
>> 1+Inf*j
ans =
1.0000 + Infi
>> 1+Infj
??? Undefined function or variable 'Infj'.
>> 1 + Inf*j
ans =
1.0000 + Infi
>> 1 + Infj
??? Undefined function or variable 'Infj'.
>> str2num('1+Inf*j')
ans =
1.0000 + Infi
>> 1 + Inf*i
ans =
1.0000 + Infi
>> str2double ('1 + Inf*i')
ans =
1.0000 + Infi
>> complex(1, Inf)
ans =
1.0000 + Infi
_______________________________________________________
Reply to this item at:
<http://savannah.gnu.org/bugs/?31974>
_______________________________________________
Message sent via/by Savannah
http://savannah.gnu.org/
| [Prev in Thread] | Current Thread | [Next in Thread] |