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: Markus Mützel
Subject: [Octave-bug-tracker] [bug #62212] Wrong unsigned integer overflow with clang
Date: Wed, 23 Mar 2022 14:28:51 -0400 (EDT)

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

I agree. Just casting explicitly probably doesn't help a lot. We'll need to
check *how*  those expressions are used and how to adapt them so they will do
the "right thing".

I'm attaching a wip patch that makes it hopefully a little clearer how that
could work.

(file #53012)

    _______________________________________________________

Additional Item Attachment:

File name: bug62212_large_int_to_float.patch Size:6 KB
   
<https://file.savannah.gnu.org/file/bug62212_large_int_to_float.patch?file_id=53012>



    _______________________________________________________

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]