Документ взят из кэша поисковой машины. Адрес оригинального документа : http://www.atnf.csiro.au/computing/software/gipsy/sub/spfplf.dc2
Дата изменения: Wed Apr 6 11:30:31 1994
Дата индексирования: Fri Jan 16 01:21:01 2009
Кодировка:

Function: SPFPLF

Purpose: Converts Single Precision Floating Point numbers from Local
format to Foreign format.

Category: DATA

File: floating.c

Author: K.G. Begeman

Use: INTEGER SPFPLF( FTYPE , Input INTEGER
FIN , Input REAL ARRAY
FOUT , Output REAL ARRAY
NF ) Input INTEGER

SPFPLF 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 foreign 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.