11/3/71 ATOF (III)
NAME atof -- ascii to floating
SYNOPSIS jsr r5,atof; subr
DESCRIPTION atof will convert an ascii stream to a floating
number returned in fr0. The subroutine subr is
called on r5 for each character of the ascii
stream. subr should return the character in r0.
The first character not used in the conversion is
left in r0. The floating point simulation should
be active in either floating or double mode, but
in single precision integer mode.
FILES kept in /etc/liba.a
SEE ALSO fptrap
DIAGNOSTICS --
BUGS The subroutine subr should not disturb any regis-
ters.
OWNER ken