octave-bug-tracker
[Top][All Lists]
Advanced

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

[Octave-bug-tracker] [bug #38973] Tiny Bug in base64decode:


From: Carlo de Falco
Subject: [Octave-bug-tracker] [bug #38973] Tiny Bug in base64decode:
Date: Mon, 13 May 2013 05:26:26 +0000
User-agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.8; rv:20.0) Gecko/20100101 Firefox/20.0

Update of bug #38973 (project octave):

                  Status:                    None => Works For Me           
             Assigned to:                    None => cdf                    

    _______________________________________________________

Follow-up Comment #1:

Where did you get base64encode from?
I see no such function in any version of Octave I have installed (3.2.3,
3.6.4, 3.7.3+)

In the development version there is a function named base64_encode
but it does not display the behaviour you reported:


>> version 
ans = 3.7.3+
>> which base64_encode 
'base64_encode' is a built-in function from the file
libinterp/interpfcn/data.cc
>> base64_encode ([99 99 0 0])
ans = AAAAAADAWEAAAAAAAMBYQAAAAAAAAAAAAAAAAAAAAAA=


notice that in the above the numbers are being treated as double, if I want
them to be considered of integer type you need to use an explicit cast


>> base64_encode (uint64 ([99 99 0 0]))
ans = YwAAAAAAAABjAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA=


I suspect the function you are using is from some additional package rather
than from Octave core, can you specify where it comes from?




    _______________________________________________________

Reply to this item at:

  <http://savannah.gnu.org/bugs/?38973>

_______________________________________________
  Message sent via/by Savannah
  http://savannah.gnu.org/




reply via email to

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