|
|
1.1 root 1: .th FTOA III 1/15/73
2: .sh NAME
3: ftoa \*- floating to ascii conversion
4: .sh SYNOPSIS
5: .ft B
6: jsr r5,ftoa; subr
7: .ft R
8: .sh DESCRIPTION
9: .it Ftoa
10: will convert the floating point number in fr0
11: into ascii in the form
12: .s3
13: [\fB\*-\fR]ddddd\fB.\fRdd...
14: .s3
15: if possible, otherwise in the form
16: .s3
17: [\fB\*-\fR]d\fB.\fRdddddddd\fBe\fR[\fB\*-\fR]dd
18: .s3
19: For each character generated by ftoa,
20: the \fIsubr\fR (supplied by the caller) is called on
21: register r5 with the character in r0.
22: .s3
23: The number of digits can be changed by changing the value
24: of \fB\*_ndigits\fR
25: in ecvt (default is 10.).
26: .s3
27: The \fIsubr\fR must not disturb any registers.
28: .sh "SEE ALSO"
29: ecvt(III), itoa(III), printf(III)
This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.