This website requires JavaScript.
Explore
Help
Sign In
libs
/
newlib-cygwin
mirror of
git://sourceware.org/git/newlib-cygwin.git
Watch
4
Star
0
Fork
You've already forked newlib-cygwin
0
Code
Issues
Projects
Releases
Wiki
Activity
775d8d0242
newlib-cygwin
/
newlib
/
libc
/
stdlib
/
atoff.c
9 lines
99 B
C
Raw
Normal View
History
Unescape
Escape
import newlib-2000-02-17 snapshot
2000-02-18 03:39:52 +08:00
#
include
<stdlib.h>
#
include
<_ansi.h>
float
ansification: remove _DEFUN Signed-off-by: Yaakov Selkowitz <yselkowi@redhat.com>
2017-12-04 11:43:30 +08:00
atoff
(
const
char
*
s
)
import newlib-2000-02-17 snapshot
2000-02-18 03: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-07 02:58:51 +08:00
return
strtof
(
s
,
NULL
)
;
import newlib-2000-02-17 snapshot
2000-02-18 03:39:52 +08:00
}