bugGNU Octave - Bugs: bug #46262, [octave-forge] (communications)...

 
 

bug #46262: [octave-forge] (communications) de2bi: patch for bizarre results with non-float input

Submitted by:  None
Submitted on:  Wed 21 Oct 2015 02:07:52 AM UTC  
 
Category: Octave Forge PackageSeverity: 3 - Normal
Priority: 5 - NormalItem Group: Incorrect Result
Status: Patch SubmittedAssigned to: Mike Miller <mtmiller>
Originator Name: Michael HirschOriginator Email: -unavailable-
Open/Closed: OpenRelease: 4.0.0
Operating System: Any

Add a New Comment(Rich Markup)
   

You are not logged in

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

 

Wed 21 Oct 2015 02:06:24 PM UTC, comment #1:

Thanks very much for the bug report and the patch. I'll take a look at this fix soon.

Mike Miller <mtmiller>
Project AdministratorIn charge of this item.
Wed 21 Oct 2015 02:07:52 AM UTC, original submission:

A patch is attached for octave-communications-1.2.1 de2bi.m that fixes two issues

1) bizarre results with non-float input. Example:

>> de2bi(uint8(31))

ans =

1 2 2 2 2

2) makes output class match input class (behaves like competitor)
Example:
class(de2bi(uint8(32)))
ans = uint8

Anonymous

 

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

Attach File(s):
   
   
Comment:
   

Attached Files
file #35247:  de2bi.patch added by None (813B - text/x-patch - patch to fix incorrect output on non-float input, and make output class match input class)

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -unavailable- added by jwe (Updated the item)
  • -unavailable- added by mtmiller (Posted a comment)
  • -unavailable- added by None (Submitted 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 5 latest changes.

    Date Changed By Updated Field Previous Value => Replaced By
    Fri 11 Aug 2017 05:39:11 PM UTCjweSummarycommunications package: de2bi: patch for bizarre results with non-float input=>[octave-forge] (communications) de2bi: patch for bizarre results with non-float input
    Wed 21 Oct 2015 02:06:24 PM UTCmtmillerStatusNone=>Patch Submitted
      Assigned toNone=>mtmiller
      Summaryoctave-communication 1.2.1 de2bi: patch for bizarre results with non-float input=>communications package: de2bi: patch for bizarre results with non-float input
    Wed 21 Oct 2015 02:07:52 AM UTCNoneAttached File-=>Added de2bi.patch, #35247

    Back to the top


    Powered by Savane 3.1-cleanup1