EasyManua.ls Logo

Texas Instruments TMS34010

Texas Instruments TMS34010
128 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
atof
Convert
ASCII
to
Floating
Point
atof
Syntax
double
atof(nptr)
char *nptr;
Description
This function converts a string
of
ASCII characters
to
floating-point
values.
.
6-4
The string
is
given in the format:
[space]
[sign]digits[.digits]
[eIE[sign] integer]
The
space
shown
in the format
is
white
space and
is
indicated by a space-
bar, horizontal
or
vertical tab, carriage return, form feed,
or
newline. Fol-
lowing
the space indicator is
an
optional sign, and then digits representing
the integer part
of
the number. The fractional part
of
the number follows,
then the
exponent,
including
the
option
of
a sign.
The first unrecognized character terminates the string.
The
ata! function does
not
account for any overflow resulting from the
conversion .

Table of Contents

Other manuals for Texas Instruments TMS34010

Related product manuals