📄 atof.3
字号:
.th ATOF III 4/30/73.sh NAMEatof \*- convert ASCII to floating.sh SYNOPSIS.ft Bdouble atof(nptr).brchar *nptr;.br.ft R.sh DESCRIPTION.it Atofconverts a string to a floatingnumber..it Nptrshould point to a string containing the number;the first unrecognized character ends the number..s3The only numbers recognized are: an optional minussign followed by a string of digits optionally containingone decimal point, then followed optionally by theletter \fBe\fR followed by a signed integer..sh DIAGNOSTICSThere are none; overflow results in a very largenumber and garbage characters terminate the scan..sh BUGSTheroutine should accept initial \fB+\fR, initial blanks, and \fBE\fR for \fBe\fR.Overflow should be signalled.
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -