[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Octave-bug-tracker] [bug #63353] Error in fscanf when maximum field wid
From: |
Rik |
Subject: |
[Octave-bug-tracker] [bug #63353] Error in fscanf when maximum field width is specified and '%f' conversion used |
Date: |
Tue, 15 Nov 2022 11:31:09 -0500 (EST) |
Update of bug #63353 (project octave):
Status: None => Confirmed
Summary: Error in fscanf when maximum field width is
specified => Error in fscanf when maximum field width is specified and '%f'
conversion used
_______________________________________________________
Follow-up Comment #1:
Confirmed. The behavior is also dependent on the type of the conversion. If
the conversion is to an integer type then the function behaves as expected.
For example,
[v,n] = sscanf (a, '%3d')
v =
123
456
7
n = 3
It is only when a floating point type such as '%f', '%e', '%g' is used that
there is a problem.
_______________________________________________________
Reply to this item at:
<https://savannah.gnu.org/bugs/?63353>
_______________________________________________
Message sent via Savannah
https://savannah.gnu.org/