Research V3 release
[unix-history] / man / man3 / ftoa.3
.pa 1
.he 'FTOA (III)'1/15/73'FTOA (III)'
.ti 0
NAME ftoa -- floating to ascii conversion
.sp
.ti 0
SYNOPSIS jsr r5,ftoa; subr
.sp
.ti 0
DESCRIPTION ftoa\b\b\b\b____
will convert the floating point number in fr0
into ascii in the form
[-]ddddd.dd*
if possible, otherwise in the form
[-]d.dddddddde\b_[-]dd*.
.sp
For each character generated by ftoa,
the subroutine subr\b\b\b\b____ (supplied by the caller) is called on
register r5 with the character in r0.
.sp
The number of digits can be changed by changing the value
of "_ndigits" in ecvt (default is 10.).
.sp
The subroutine subr\b\b\b\b____ must not disturb any registers.
.sp
.ti 0
FILES kept in /lib/liba.a
.sp
.ti 0
SEE ALSO ecvt(III), itoa(III)
.sp
.ti 0
DIAGNOSTICS --
.sp
.ti 0
BUGS --