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

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

[Octave-bug-tracker] [bug #61715] Inconsistent NaN results when calculat


From: Jinchuan Tang
Subject: [Octave-bug-tracker] [bug #61715] Inconsistent NaN results when calculating exponential function (0+0i)^0 with Apple Silicon M1
Date: Wed, 22 Dec 2021 09:18:58 -0500 (EST)
User-agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/605.1.15 (KHTML, like Gecko) Version/15.2 Safari/605.1.15

URL:
  <https://savannah.gnu.org/bugs/?61715>

                 Summary: Inconsistent NaN results when calculating
exponential function (0+0i)^0 with Apple Silicon M1
                 Project: GNU Octave
            Submitted by: jinchuantang
            Submitted on: Wed 22 Dec 2021 02:18:57 PM UTC
                Category: Octave Function
                Severity: 3 - Normal
                Priority: 5 - Normal
              Item Group: Incorrect Result
                  Status: None
             Assigned to: None
         Originator Name: Jinchuan Tang
        Originator Email: 
             Open/Closed: Open
                 Release: 6.4.0
         Discussion Lock: Any
        Operating System: Mac OS

    _______________________________________________________

Details:

Dear Octave team,
I tried both Homebrew and Octave.app, it all give a different result when
compared with Windows. I don't know if this is related to OpenBlas or
something else. Please have a look. Many thanks!
>> bbb = complex(0+0i)
bbb =  0 + 0i
>> bbb.^2
ans = 0
>> bbb.^0
ans =  NaN - NaNi

For windows, bbb.^0 will produce ans = 1 instead of NaN - NaNi.

Best wishes,
Jinchuan




    _______________________________________________________

Reply to this item at:

  <https://savannah.gnu.org/bugs/?61715>

_______________________________________________
  Message sent via Savannah
  https://savannah.gnu.org/




reply via email to

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