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

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

[Octave-bug-tracker] [bug #63089] dec2bin gives wrong answer for negativ


From: Arun Giridhar
Subject: [Octave-bug-tracker] [bug #63089] dec2bin gives wrong answer for negative int16
Date: Tue, 25 Oct 2022 11:05:11 -0400 (EDT)

Follow-up Comment #20, bug #63089 (project octave):

Oof! Matlab is being gratuitously inconsistent there. Thanks @nrjank for
looking it up.

I've attached an updated patch that restores old behavior for non-integer 
inputs.

(file #53906)

    _______________________________________________________

Additional Item Attachment:

File name: dec2bin.patch                  Size:1 KB
    <https://file.savannah.gnu.org/file/dec2bin.patch?file_id=53906>



    _______________________________________________________

Reply to this item at:

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

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




reply via email to

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