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: Sat, 24 Sep 2022 16:51:02 -0400 (EDT)

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

There's so much commonality between dec2bin and dec2hex that I rewrote dec2hex
to make use of the patched dec2bin, instead of repeating all the preparation
code. Now dec2hex also accepts 64-bit negative input. 

Patch attached for dec2hex.

(file #53751)

    _______________________________________________________

Additional Item Attachment:

File name: dec2hex.patch                  Size:3 KB
    <https://file.savannah.gnu.org/file/dec2hex.patch?file_id=53751>



    _______________________________________________________

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]