[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Octave-bug-tracker] [bug #63383] Error in sscanf in special cases when
From: |
Rik |
Subject: |
[Octave-bug-tracker] [bug #63383] Error in sscanf in special cases when '%f' conversion is used |
Date: |
Tue, 6 Dec 2022 16:31:09 -0500 (EST) |
Follow-up Comment #8, bug #63383 (project octave):
Does NA value otherwise work on the specific arch64 machine you are using?
Quick test,
[val, count, msg, pos] = sscanf ('2 na 3', '%f');
assert (val, [2; NA; 3]);
# This time NA at end
[val, count, msg, pos] = sscanf ('2 3 na', '%f');
assert (val, [2; 3; NA]);
I'm running Kubuntu 22.04, x86_64 and the code above works. I see you are on
Ubuntu 22.10 which might make a difference.
_______________________________________________________
Reply to this item at:
<https://savannah.gnu.org/bugs/?63383>
_______________________________________________
Message sent via Savannah
https://savannah.gnu.org/
- [Octave-bug-tracker] [bug #63383] Error in sscanf in special cases when '%f' conversion is used, Dmitri A. Sergatskov, 2022/12/06
- [Octave-bug-tracker] [bug #63383] Error in sscanf in special cases when '%f' conversion is used,
Rik <=
- [Octave-bug-tracker] [bug #63383] Error in sscanf in special cases when '%f' conversion is used, Dmitri A. Sergatskov, 2022/12/06
- [Octave-bug-tracker] [bug #63383] Error in sscanf in special cases when '%f' conversion is used, Dmitri A. Sergatskov, 2022/12/06
- [Octave-bug-tracker] [bug #63383] Error in sscanf in special cases when '%f' conversion is used, Rik, 2022/12/06
- [Octave-bug-tracker] [bug #63383] Error in sscanf in special cases when '%f' conversion is used, Dmitri A. Sergatskov, 2022/12/06
- [Octave-bug-tracker] [bug #63383] Error in sscanf in special cases when '%f' conversion is used, Rik, 2022/12/06
- [Octave-bug-tracker] [bug #63383] Error in sscanf in special cases when '%f' conversion is used, Dmitri A. Sergatskov, 2022/12/06
- [Octave-bug-tracker] [bug #63383] Error in sscanf in special cases when '%f' conversion is used, Dmitri A. Sergatskov, 2022/12/06
- [Octave-bug-tracker] [bug #63383] Error in sscanf in special cases when '%f' conversion is used, Dmitri A. Sergatskov, 2022/12/06
- [Octave-bug-tracker] [bug #63383] Error in sscanf in special cases when '%f' conversion is used, Rik, 2022/12/06
- [Octave-bug-tracker] [bug #63383] Error in sscanf in special cases when '%f' conversion is used, Dmitri A. Sergatskov, 2022/12/17