This website requires JavaScript.
Explore
Help
Sign In
drew
/
acadia-newlib
Watch
1
Star
0
Fork
You've already forked acadia-newlib
0
Code
Issues
Pull Requests
Packages
Projects
Releases
Wiki
Activity
62c66a39bd
acadia-newlib
/
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 11:39:52 -08:00
#
include
<stdlib.h>
#
include
<_ansi.h>
float
ansification: remove _DEFUN Signed-off-by: Yaakov Selkowitz <yselkowi@redhat.com>
2017-12-03 19:43:30 -08:00
atoff
(
const
char
*
s
)
import newlib-2000-02-17 snapshot
2000-02-17 11:39:52 -08: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 10:58:51 -08:00
return
strtof
(
s
,
NULL
)
;
import newlib-2000-02-17 snapshot
2000-02-17 11:39:52 -08:00
}