Updated PCI IDs to latest snapshot.
[tangerine.git] / compiler / clib / atof.c
blob46be14c05e00684309b9131d7f43992ff922cf42
1 /*
2 Copyright © 1995-2001, The AROS Development Team. All rights reserved.
3 $Id$
5 ANSI C function atof().
6 */
8 #ifndef AROS_NOFPU
10 #include <ctype.h>
11 #include <stdio.h>
13 /*****************************************************************************
15 NAME */
16 #include <stdlib.h>
18 double atof (
20 /* SYNOPSIS */
21 const char * str)
23 /* FUNCTION
24 Convert a string of digits into a double.
26 INPUTS
27 str - The string which should be converted. Leading
28 whitespace are ignored. The number may be prefixed
29 by a '+' or '-'.
31 RESULT
32 The value of string str.
34 NOTES
36 EXAMPLE
38 BUGS
40 SEE ALSO
41 atoi(), atol(), strtod(), strtol(), strtoul()
43 INTERNALS
45 ******************************************************************************/
47 return strtod (str, (char **)NULL);
48 } /* atof */
50 #else
52 void atof(const char * str)
54 return;
57 #endif /* AROS_NOFPU */