read() NaN on Linux

classic Classic list List threaded Threaded
1 message Options
Mårten Ström Mårten Ström
Reply | Threaded
Open this post in threaded view
|

read() NaN on Linux

 

Scilab fails to read( ) files containing NaN on Linux, it reports error 49, ‘incorrect file or format’. I use v4.1.2 and have confirmed the same behaviour on a recent nightly build (03012008).

 

The problem is not repeatable on Windows, where the same routines work fine (accepting ‘Nan’, ‘nan’, ‘NaN’)

 

So, my questions are;

-          How should NaN be read from file on Linux?

-          Is this a known problem, and are there any workarounds?

 

Thanks in advance,

M.