File:  [Research Unix] / researchv10dc / dist / man / v4 / manx / ftoa.3
Revision 1.1.1.1 (vendor branch): download - view: text, annotated - select for diffs
Tue Apr 24 17:21:34 2018 UTC (8 years, 1 month ago) by root
Branches: belllabs, MAIN
CVS tags: researchv10, HEAD
researchv10 Dan Cross

.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)

unix.superglobalmegacorp.com

This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.