|
From: | Arun Giridhar |
Subject: | [Octave-bug-tracker] [bug #63089] dec2bin gives wrong answer for negative int16 |
Date: | Mon, 24 Oct 2022 16:54:21 -0400 (EDT) |
Follow-up Comment #17, bug #63089 (project octave): The attached patch works for me for this input validation. I also edited the docstring to match current behavior. Could someone check what Matlab returns for these please? dec2bin (+2.7) dec2bin (-2.7) dec2bin (+3.1) dec2bin (-3.1) dec2hex (+2.7) dec2hex (-2.7) dec2hex (+3.1) dec2hex (-3.1) (file #53905) _______________________________________________________ Additional Item Attachment: File name: dec2bin.patch Size:1 KB <https://file.savannah.gnu.org/file/dec2bin.patch?file_id=53905> _______________________________________________________ Reply to this item at: <https://savannah.gnu.org/bugs/?63089> _______________________________________________ Message sent via Savannah https://savannah.gnu.org/
[Prev in Thread] | Current Thread | [Next in Thread] |