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

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

[Octave-bug-tracker] [bug #46493] Incorrect result from fscanf and scanf


From: Anselm Köhler
Subject: [Octave-bug-tracker] [bug #46493] Incorrect result from fscanf and scanf with %i format
Date: Tue, 24 Nov 2015 13:29:36 +0000
User-agent: Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:36.0) Gecko/20100101 Firefox/36.0

Follow-up Comment #5, bug #46493 (project octave):

Just stumble over this bugreport, here matlabs result from Rik's suggested
test of comment #2:

sscanf('"09"', '"%i"')
ans =
     0
sscanf('"079"', '"%i"')
ans =
     7

    _______________________________________________________

Reply to this item at:

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

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




reply via email to

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