|
| From: | Rik |
| Subject: | [Octave-bug-tracker] [bug #58147] Matlab 2020 compatibility: dec2bin, dec2hex shouldn't error on negative inputs |
| Date: | Thu, 9 Apr 2020 19:29:31 -0400 (EDT) |
| User-agent: | Mozilla/5.0 (Windows NT 10.0; WOW64; Trident/7.0; rv:11.0) like Gecko |
Update of bug #58147 (project octave):
Priority: 5 - Normal => 3 - Low
Item Group: Matlab Compatibility => Feature Request
Status: None => Confirmed
_______________________________________________________
Follow-up Comment #2:
The error message isn't bad because there is significant ambiguity when
converting a negative number to binary. There are multiple representations
and, although 2's complement is a popular one, there are other representation
such as signed magnitude which make sense and might be preferable.
If Octave is going to implement this, then it needs to document the choice
that was made (2's complement).
_______________________________________________________
Reply to this item at:
<https://savannah.gnu.org/bugs/?58147>
_______________________________________________
Message sent via Savannah
https://savannah.gnu.org/
| [Prev in Thread] | Current Thread | [Next in Thread] |