bugGNU Octave - Bugs: bug #38815, ~ operator or dec2bin()


bug #38815: ~ operator or dec2bin()

Submitted by:  None
Submitted on:  Tue 23 Apr 2013 07:28:24 PM UTC  
Category:  Interpreter Severity:  3 - Normal
Priority:  5 - Normal Item Group:  Matlab Compatibility
Status:  Fixed Assigned to:  None
Originator Name:  Originator Email:  -email is unavailable-
Open/Closed:  Closed Release:  3.6.4
Operating System:  Microsoft Windows

Add a New Comment(Rich Markup)

You are not logged in

Please log in, so followups can be emailed to you.


Wed 19 Jun 2013 09:45:37 AM UTC, comment #3:

Thanks you for the review. I'll let emacs take care of the comments style for me (M-;).

Pantxo Diribarne <pantxo>
Project Member
Wed 19 Jun 2013 03:52:02 AM UTC, comment #2:

Pantxo, thanks for solving this one. I applied your changeset here (http://hg.savannah.gnu.org/hgweb/octave/rev/3542e106c496).

The only change I made was to use '##' for the start of comment which begins a line. We use a single '#' only for a comment which is after some code.


Rik <rik5>
Project Administrator
Sun 28 Apr 2013 08:18:59 PM UTC, comment #1:

Attached is a patch for logical array support in dec2base.m
I added a test to assert this particular example works:

(file #27968)

Pantxo Diribarne <pantxo>
Project Member
Tue 23 Apr 2013 07:28:24 PM UTC, original submission:

In Matlab:
but in Octave:



(Note: upload size limit is set to 16384 kB, after insertion of the required escape characters.)

Attach Files:

Attached Files
file #27968:  dec2base_logical.patch added by pantxo (1KiB - text/x-patch)


Depends on the following items: None found

Items that depend on this one: None found


Carbon-Copy List
  • -email is unavailable- added by rik5 (Posted a comment)
  • -email is unavailable- added by pantxo (Updated the item)

    Do you think this task is very important?
    If so, you can add your encouragement to it.
    This task has 0 encouragements so far.

    Only project members can vote.


    Please enter the title of George Orwell's famous dystopian book (it's a date):



    Follow 4 latest changes.

    Date Changed by Updated Field Previous Value => Replaced by
    2013-06-19 rik5 Item GroupSegfault, Bus Error, etc. => Matlab Compatibility
        StatusNone => Fixed
        Open/ClosedOpen => Closed
    2013-04-28 pantxo Attached File- => Added dec2base_logical.patch, #27968

    Back to the top

    Powered by Savane 3.3