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

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

[Octave-bug-tracker] [bug #45174] num2str produces different results fro


From: Juan Pablo Carbajal
Subject: [Octave-bug-tracker] [bug #45174] num2str produces different results from Matlab for some corner cases
Date: Wed, 17 Jun 2015 12:41:58 +0000
User-agent: Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/43.0.2357.125 Safari/537.36

Follow-up Comment #2, bug #45174 (project octave):

Can anybody test in Matlab what are the result of

num2str(e ,"%d")
num2str(e ,"%i")
num2str(e ,"%u")
num2str(e ,"%o")
num2str(e ,"%x")
num2str(e ,"%X")
num2str(e ,"%f")
num2str(e ,"%F")
num2str(e ,"%E")
num2str(e ,"%a")
num2str(e ,"%A")

I am trying to guess when %e should be set by default. Is it only when the
format string is "%c" or "%s"?



    _______________________________________________________

Reply to this item at:

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

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




reply via email to

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