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: InterpreterSeverity: 3 - Normal
Priority: 5 - NormalItem Group: Matlab Compatibility
Status: FixedAssigned to: None
Originator Name: Originator Email: -unavailable-
Open/Closed: ClosedRelease: 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 File(s):

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
  • -unavailable- added by rik5 (Posted a comment)
  • -unavailable- added by pantxo (Updated the item)

    Do you think this task is very important?
    If so, you can click here to 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
    Wed 19 Jun 2013 03:52:02 AM UTCrik5Item GroupSegfault, Bus Error, etc.=>Matlab Compatibility
    Sun 28 Apr 2013 08:18:59 PM UTCpantxoAttached File-=>Added dec2base_logical.patch, #27968

    Back to the top

    Powered by Savane 3.1-cleanup1