Function: SPFPFL Purpose: Converts Single Precision Floating Point numbers from Foreign format to Local format. Category: DATA File: floating.c Author: K.G. Begeman Use: INTEGER SPFPFL( FTYPE , Input INTEGER FIN , Input REAL ARRAY FOUT , Output REAL ARRAY NF ) Input INTEGER SPFPFL Returns the number of BLANKS inserted because input reals cannot be represented in local reals, or -1 if FTYPE is unknown. FTYPE Type of foreign format: 0: IEEE High Endian format (BLANK=-Inf) 1: IEEE Low Endian format (BLANK=-Inf) 2: CONVEX native format 3: VMS D_floating format 4: VMS F_floating format 5: IEEE High Endian format (BLANK=-FLT_MAX) 6: IEEE Low Endian format (BLANK=-FLT_MAX) FIN Input real array containing the reals to be converted. FOUT Output real array containing the converted reals in local format. NF Number of reals in FIN and FOUT. Updates: May 16, 1991: KGB, Document created. Mar 30, 1993: KGB, Types 5 and 6 implemented.