bugGNU Octave - Bugs: bug #49242, Set Infinite complex number...


bug #49242: Set Infinite complex number returns NaN on real part

Submitted by:  CarnĂ« Draug <carandraug>
Submitted on:  Sat 01 Oct 2016 08:39:35 PM UTC  
Category:  Interpreter Severity:  3 - Normal
Priority:  5 - Normal Item Group:  Incorrect Result
Status:  Duplicate Assigned to:  None
Originator Name:  Open/Closed:  Closed
Release:  dev Operating System:  GNU/Linux

Add a New Comment (Rich Markup)

You are not logged in

Please log in, so followups can be emailed to you.


Sun 02 Oct 2016 01:14:56 AM UTC, comment #1: 

Unfortunately, a known issue.  See this 6-year old bug #31974.

Rik <rik5>
Project Administrator
Sat 01 Oct 2016 08:39:35 PM UTC, original submission:  

Seems that one is unable to set a complex number with infinite value on both real and imaginary parts:

> complex (Inf, Inf) # this works
ans = Inf + Infi
> Inf + Inf*i        # this does not
ans = NaN + Infi

This seems to work in Matlab:

>> +Inf + Inf*i

ans =

      Inf +    Infi

Carnë Draug <carandraug>
Project Member


(Note: upload size limit is set to 16384 kB, after insertion of the required escape characters.)

Attach Files:

No files currently attached


   bug dependencies.

Items that depend on this one: None found


Carbon-Copy List
  • -email is unavailable- added by rik5 (Posted a comment)
  • -email is unavailable- added by carandraug (Submitted the item)

    Do you think this task is very important?
    If so, you can add your encouragement to it.
    This task has 0 encouragements so far.

    Only project members can vote.




    Follow 3 latest changes.

    Date Changed by Updated Field Previous Value => Replaced by
    2016-10-02 rik5 StatusNone => Duplicate
        Open/ClosedOpen => Closed
    2016-10-02 rik5 Dependencies- => Depends on bugs #31974

    Back to the top

    Powered by Savane 3.5