blob: c8fd2344c45539486ff56f44a7341566fc106167 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
|
#include <stdlib.h>
/** convert string to floating-point **/
double atof(const char * nptr)
{
return strtod(nptr, (char**)NULL);
}
/***
converts the string at ARGUMENT(nptr) to a TYPE(double). The
conversion goes until the first inappropriate character.
***/
/*
LC_CTYPE
RETURN_SUCCESS(the converted value)
STDC(1)
*/
|