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

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

[Octave-bug-tracker] [bug #46262] [octave forge] (communications) de2bi:


From: anonymous
Subject: [Octave-bug-tracker] [bug #46262] [octave forge] (communications) de2bi: patch for bizarre results with non-float input
Date: Sun, 28 Mar 2021 09:27:52 -0400 (EDT)
User-agent: Mozilla/5.0 (Windows NT 10.0; rv:78.0) Gecko/20100101 Firefox/78.0

Follow-up Comment #4, bug #46262 (project octave):

I updated to nrjank's version which fixes bug #59466.

It looks like that patch did not fix this issue.

de2bi(uint8(31))
ans =

  1  2  2  2  2


Making the changes in Michael's patch

de2bi(uint8(31))
ans =

  1  1  1  1  1


Comment #2 also fixed this issue, however I followed the patch since it gave
some more tests. 

The attached patch is just Michael's patch applied to njank's version

(file #51152)
    _______________________________________________________

Additional Item Attachment:

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



    _______________________________________________________

Reply to this item at:

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

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




reply via email to

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