[En-Nut-Discussion] Problem with stdlib.h on Linux

Robert Mutke robert.mutke at gmail.com
Fri Feb 4 16:29:39 CET 2005

Hello Harald,

This is it (lines 358-376):

extern double strtod(const char *__nptr, char **__endptr);

    The atof() function converts the initial portion of the string pointed
    to by \c nptr to double representation.

    It is equivalent to calling

               \code strtod(nptr, (char **)NULL); \endcode

extern double atof(const char *__nptr);

/** Highest number that can be generated by rand(). */
#define RAND_MAX 0x7FFF

    The rand() function computes a sequence of pseudo-random integers in the
    range of 0 to \c RAND_MAX (as defined by the header file <stdlib.h>).

I can't see anything wrong with atof definition :-/


More information about the En-Nut-Discussion mailing list