octave-bug-tracker
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Octave-bug-tracker] [bug #49242] Set Infinite complex number returns Na


From: Carnë Draug
Subject: [Octave-bug-tracker] [bug #49242] Set Infinite complex number returns NaN on real part
Date: Sat, 1 Oct 2016 20:39:38 +0000 (UTC)
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:45.0) Gecko/20100101 Firefox/45.0

URL:
  <http://savannah.gnu.org/bugs/?49242>

                 Summary: Set Infinite complex number returns NaN on real part
                 Project: GNU Octave
            Submitted by: carandraug
            Submitted on: Sat 01 Oct 2016 08:39:35 PM GMT
                Category: Interpreter
                Severity: 3 - Normal
                Priority: 5 - Normal
              Item Group: Incorrect Result
                  Status: None
             Assigned to: None
         Originator Name: 
        Originator Email: 
             Open/Closed: Open
         Discussion Lock: Any
                 Release: dev
        Operating System: GNU/Linux

    _______________________________________________________

Details:

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





    _______________________________________________________

Reply to this item at:

  <http://savannah.gnu.org/bugs/?49242>

_______________________________________________
  Message sent via/by Savannah
  http://savannah.gnu.org/




reply via email to

[Prev in Thread] Current Thread [Next in Thread]