[Top][All Lists]

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

[Octave-bug-tracker] [bug #56005] dec2hex([0, 0]) does not return correc

From: anonymous
Subject: [Octave-bug-tracker] [bug #56005] dec2hex([0, 0]) does not return correct value
Date: Tue, 26 Mar 2019 22:21:07 -0400 (EDT)
User-agent: Mozilla/5.0 (Windows NT 10.0; WOW64; rv:60.0) Gecko/20100101 Firefox/60.0


                 Summary: dec2hex([0,0]) does not return correct value
                 Project: GNU Octave
            Submitted by: None
            Submitted on: Wed 27 Mar 2019 02:21:05 AM UTC
                Category: Octave Function
                Severity: 3 - Normal
                Priority: 5 - Normal
              Item Group: Incorrect Result
                  Status: None
             Assigned to: None
         Originator Name: spica lai
        Originator Email: address@hidden
             Open/Closed: Open
         Discussion Lock: Any
                 Release: 4.4.0
        Operating System: Microsoft Windows



while using dec2hex(0) it returns correct value
when the input is a zero array, like dec2hex([0, 0]), it returns nothing.
Actually, I tried:

arr = dec2hex([0, 0])
arr_size = size(arr)

I get arr_size equals to [2 0].
However, if there is one none-zero value in input array, the return of dec2hex
function is correct.


Reply to this item at:


  Message sent via Savannah

reply via email to

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