[Scilab-users] mget at Scilab 5.4.1 and 5.5.1

Philipp Mühlmann p.muehlmann at gmail.com
Sun Feb 21 11:21:42 CET 2016


Sciab 5.4.1:

 pos before Time        488.

 pos after Time           492.

 pos after MilliTime     496.

 Time                        1340097538.

 MilliTime                   870.


Scilab 5.5.1:

 pos before Time        488.

 pos after Time           496.

 pos after MilliTime     504.

 Time                        3737961645058.

 MilliTime                  7.3111468202388D+18


mh, I want to read 4 bytes fo Time and for MilliTime

In the binary file description the variables are only specified as unsigned
long.

What I do not understand: Why would Scilab 5.5.1 read 8 bytes instead of 4?

Thanks,
Philipp



2016-02-21 9:27 GMT+01:00 JLan <j-lan at online.no>:

>
> Are the double numbers Time and Millitime the same in both versions?
>
> How many bytes do you acually read with 'ul'? (can check with mtell()). Is
> it unsigned long long integer? Converting it to double may cause lost
> prescision.
>
> Jan Å
>
>
>
>
> --
> View this message in context:
> http://mailinglists.scilab.org/Scilab-users-mget-at-Scilab-5-4-1-and-5-5-1-tp4033520p4033522.html
> Sent from the Scilab users - Mailing Lists Archives mailing list archive
> at Nabble.com.
> _______________________________________________
> users mailing list
> users at lists.scilab.org
> http://lists.scilab.org/mailman/listinfo/users
>



-- 
There we have the salad.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.scilab.org/pipermail/users/attachments/20160221/ff6f073f/attachment.htm>


More information about the users mailing list