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

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

[Octave-bug-tracker] [bug #62212] Wrong unsigned integer overflow with c


From: John W. Eaton
Subject: [Octave-bug-tracker] [bug #62212] Wrong unsigned integer overflow with clang
Date: Wed, 23 Mar 2022 14:20:12 -0400 (EDT)

Follow-up Comment #10, bug #62212 (project octave):

For X > flintmax, I would expect X-1 == X.  Don't we need to account for
eps(X) here?

I understand that my original assumption that X > intmax('UT') would work was
wrong but I'm still not sure exactly how to perform this check "correctly".


    _______________________________________________________

Reply to this item at:

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

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




reply via email to

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