[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: Doug Stewart
Subject: [Octave-bug-tracker] [bug #56005] dec2hex([0, 0]) does not return correct value
Date: Tue, 26 Mar 2019 23:26:38 -0400 (EDT)
User-agent: Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/73.0.3683.86 Safari/537.36

Follow-up Comment #1, bug #56005 (project octave):

This is still true in octave 5.x.x
in dec2base if I change line  55  to
function retval = dec2base (d, base, len = 1)

and change line 114 to
 if (((nargin == 2 && max_len > len) || (nargin == 3 && max_len > len))
then it seems to work properly.

can someone verify this ?


Reply to this item at:


  Message sent via Savannah

reply via email to

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