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

[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/




reply via email to

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