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

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

[Octave-bug-tracker] [bug #45263] printf('%X', char(x)) returns x in dec


From: Mike Miller
Subject: [Octave-bug-tracker] [bug #45263] printf('%X', char(x)) returns x in decimal
Date: Tue, 09 Jun 2015 11:42:03 +0000
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:38.0) Gecko/20100101 Firefox/38.0 Iceweasel/38.0.1

Follow-up Comment #11, bug #45263 (project octave):

jwe wins by default, right? :)

It was because my solution adds troublesome special case code that I posted
the patch here for comment. As I mentioned to jwe on irc, my first attempt was
to try to return true from the ok_for_*_int_conv functions, and I ran into the
invalid conversion error. I agree his patch is a cleaner solution.

    _______________________________________________________

Reply to this item at:

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

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




reply via email to

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