FPINPUT - ***OBSOLETE*** use .ATOF instead.

Usage:

status = fpinput(string [, res] );

Description:

FPINPUT converts the floating point number stored in ASCII in "string" to double precision binary in the vector "res", which is two words long.

A floating point number consists of:

Either the integer part or the fractional part may be omitted, but while the integer part may be given without the decimal point, the decimal point must be supplied if the fractional part is present.

If FPINPUT detects any error in the format of the floating point number, it will return -1. A return of zero indicates successful conversion.

If the vector "res" is not supplied, FPINPUT returns the double precision number in the floating-point register; there is no error return. This will only be of use to a function written in GMAP.

Copyright © 1996, Thinkage Ltd.