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

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

[Octave-bug-tracker] [bug #45945] Missing Matlab's special support for i


From: Markus Mützel
Subject: [Octave-bug-tracker] [bug #45945] Missing Matlab's special support for int64/uint64 integer literals
Date: Wed, 14 Jul 2021 05:18:45 -0400 (EDT)
User-agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/91.0.4472.124 Safari/537.36 Edg/91.0.864.67

Update of bug #45945 (project octave):

                  Status:                   Fixed => Confirmed              
             Open/Closed:                  Closed => Open                   
        Operating System:               GNU/Linux => Any                    

    _______________________________________________________

Follow-up Comment #32:

It looks like one of the tests with large integer literals is failing (after a
bug in `assert` was fixed):

>> int64 (-9007199254740993)
ans = -9007199254740992
>> int64 (-flintmax ()) - 1
ans = -9007199254740993
>> assert (int64 (-9007199254740993),int64 (-flintmax ()) - 1)

error: ASSERT errors for:  assert (int64 (-9007199254740993),int64 (-flintmax
()) - 1)

  Location  |  Observed  |  Expected  |  Reason
     ()      -9007199254740992 -9007199254740992   Abs err 1 exceeds tol 0 by
1


Since the test passed (erroneously) previously, I don't know if this is a
regression.

Re-opening report.

    _______________________________________________________

Reply to this item at:

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

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




reply via email to

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