binio-fgetreal | ![]() ![]() |
(binio-fgetreal <istream>)
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
istream: internal object representation of a binary file, opened for input.
A real number or nil on EOF
Advances the file pointer by two bytes.
(std-require-external 'BINIO)
Defined in BINIO