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

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

[Octave-bug-tracker] [bug #53489] linspace and logspace with endpoints (


From: Dmitri A. Sergatskov
Subject: [Octave-bug-tracker] [bug #53489] linspace and logspace with endpoints (Inf, Inf) is different than Matlab
Date: Mon, 21 Jan 2019 02:51:00 -0500 (EST)
User-agent: Mozilla/5.0 (X11; Fedora; Linux x86_64; rv:64.0) Gecko/20100101 Firefox/64.0

Follow-up Comment #12, bug #53489 (project octave):

I compiled octave on linux with clang and libc++ and I get the same error:


octave:1> test logspace
***** assert (logspace (Inf + 1i, Inf + 1i, 3), repmat (complex (-Inf,Inf),
[1, 3]))
!!!!! test failed
ASSERT errors for:  assert (logspace (Inf + 1i, Inf + 1i, 3),repmat (complex
(-Inf, Inf), [1, 3]))

  Location  |  Observed  |  Expected  |  Reason
    (1)        Inf+NaNi    -Inf+Infi     'NaN' mismatch
    (2)        Inf+NaNi    -Inf+Infi     'NaN' mismatch
    (3)        Inf+NaNi    -Inf+Infi     'NaN' mismatch


This is with clang 7.0.1 and libc++ 7.0.0

Dmitri.
-- 


    _______________________________________________________

Reply to this item at:

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

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




reply via email to

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