When to use the 'ieee-le.l64' machine format in FOPEN?

Asked by Jan Simon on 15 Apr 2012
Latest activity Commented on by Jan Simon on 30 Jun 2012

fopen can use the machine formats (see "help fopen"):

 'ieee-le'     or 'l' - IEEE floating point with little-endian
                        byte ordering
 'ieee-le.l64' or 'a' - IEEE floating point with little-endian
                        byte ordering and 64 bit long data type

What is the difference between these formats? 64 bit integers can be read in the 'l' format without problems.

Does the machine format a file is opened in concern the 'long' and 'ulong' precision of fread only and nothing else? See "help fopen":

 'long'    integer,  32 or 64 bits.
 'ulong'   unsigned integer,  32 bits or 64 bits.

2 Comments

Jan Simon on 19 Apr 2012

Bump.

Jan Simon on 30 Jun 2012

Final bump. What do you suggest: Should I delete the thread when I do not find a (useful) answer?

Jan Simon

Products

No products are associated with this question.

0 Answers

Contact us