This website requires JavaScript.
Explore
Help
Sign In
PlaneteCasio
/
libc
Watch
1
Star
0
Fork
You've already forked libc
0
Code
Issues
6
Pull Requests
Releases
Wiki
Activity
256f1171ac
libc
/
newlib
/
libc
/
stdlib
/
atoff.c
9 lines
99 B
C
Raw
Normal View
History
Unescape
Escape
import newlib-2000-02-17 snapshot
2000-02-17 20:39:52 +01:00
#
include
<stdlib.h>
#
include
<_ansi.h>
float
ansification: remove _DEFUN Signed-off-by: Yaakov Selkowitz <yselkowi@redhat.com>
2017-12-04 04:43:30 +01:00
atoff
(
const
char
*
s
)
import newlib-2000-02-17 snapshot
2000-02-17 20:39:52 +01:00
{
2002-12-06 Jeff Johnston <jjohnstn@redhat.com> * libc/include/stdlib.h (strtof): New prototype (from C99). (strtodf): Changed from prototype to macro which redefines to strtof. * libc/stdlib/atof.c: Change documentation to refer to strtof instead of strtodf. * libc/stdlib/atoff.c (atoff): Change to call strtof instead of strtodf. * libc/stdlib/strtod.c (strtodf): Renamed to strtof. (strtof): New function. * libm/test/convert.c (test_strtodf): Renamed to test_strtof which calls strtof.
2002-12-06 19:58:51 +01:00
return
strtof
(
s
,
NULL
)
;
import newlib-2000-02-17 snapshot
2000-02-17 20:39:52 +01:00
}