|
From: | anonymous |
Subject: | [Octave-bug-tracker] [bug #46262] octave-communication 1.2.1 de2bi: patch for bizarre results with non-float input |
Date: | Wed, 21 Oct 2015 02:07:53 +0000 |
User-agent: | Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:41.0) Gecko/20100101 Firefox/41.0 |
URL: <http://savannah.gnu.org/bugs/?46262> Summary: octave-communication 1.2.1 de2bi: patch for bizarre results with non-float input Project: GNU Octave Submitted by: None Submitted on: Wed 21 Oct 2015 02:07:52 AM UTC Category: Octave Forge Package Severity: 3 - Normal Priority: 5 - Normal Item Group: Incorrect Result Status: None Assigned to: None Originator Name: Michael Hirsch Originator Email: address@hidden Open/Closed: Open Discussion Lock: Any Release: 4.0.0 Operating System: Any _______________________________________________________ Details: 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 _______________________________________________________ File Attachments: ------------------------------------------------------- Date: Wed 21 Oct 2015 02:07:52 AM UTC Name: de2bi.patch Size: 813B By: None patch to fix incorrect output on non-float input, and make output class match input class <http://savannah.gnu.org/bugs/download.php?file_id=35247> _______________________________________________________ Reply to this item at: <http://savannah.gnu.org/bugs/?46262> _______________________________________________ Message sent via/by Savannah http://savannah.gnu.org/
[Prev in Thread] | Current Thread | [Next in Thread] |