summaryrefslogtreecommitdiff
path: root/static/unix-v10/man3/ftoa.3
blob: be2061a4552b0829d58978dfc5caa57778b04d58 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
.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____
will convert the floating point number in fr0
into ascii in the form

   [-]ddddd.dd*

if possible, otherwise in the form

   [-]d.dddddddde_[-]dd*.
.sp
For each character generated by ftoa,
the subroutine subr____ (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____ 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		--