Research V4 development
authorKen Thompson <ken@research.uucp>
Tue, 6 Nov 1973 01:20:27 +0000 (20:20 -0500)
committerKen Thompson <ken@research.uucp>
Tue, 6 Nov 1973 01:20:27 +0000 (20:20 -0500)
Work on file man/manx/ftoa.3

Co-Authored-By: Dennis Ritchie <dmr@research.uucp>
Synthesized-from: v4

man/manx/ftoa.3 [new file with mode: 0644]

diff --git a/man/manx/ftoa.3 b/man/manx/ftoa.3
new file mode 100644 (file)
index 0000000..53392c0
--- /dev/null
@@ -0,0 +1,29 @@
+.th FTOA III 1/15/73
+.sh NAME
+ftoa \*- floating to ascii conversion
+.sh SYNOPSIS
+.ft B
+jsr    r5,ftoa; subr
+.ft R
+.sh DESCRIPTION
+.it Ftoa
+will convert the floating point number in fr0
+into ascii in the form
+.s3
+       [\fB\*-\fR]ddddd\fB.\fRdd...
+.s3
+if possible, otherwise in the form
+.s3
+       [\fB\*-\fR]d\fB.\fRdddddddd\fBe\fR[\fB\*-\fR]dd
+.s3
+For each character generated by ftoa,
+the \fIsubr\fR (supplied by the caller) is called on
+register r5 with the character in r0.
+.s3
+The number of digits can be changed by changing the value
+of \fB\*_ndigits\fR
+in ecvt (default is 10.).
+.s3
+The \fIsubr\fR must not disturb any registers.
+.sh "SEE ALSO"
+ecvt(III), itoa(III), printf(III)