binio-fgetreal


Synopsis

(binio-fgetreal <istream>)

Description

Reads a double IEEE floating point number (8 bytes in Intel order) from an open input stream, opened with (binio-fopen fn "r")

If the file is stored bitwise there is a non-portable (and elsewhere undocumented) function (binio-%2long->double) to convert the representation of 2 long integers to a real number to be able to read this number. Used for R13/14 DWG access.

Dependant on an external library: so far only binio.fas for ViLL or vlisp

Arguments

istream: internal object representation of a binary file, opened for input.

Return Value

A real number or nil on EOF

Side Effects

Advances the file pointer by two bytes.

Module

(std-require-external 'BINIO)

Defined in BINIO