Retro video games delivered to your door every month!
Click above to get retro games delivered to your door ever month!
X-Hacker.org- Microsoft C 6.0 - <b>_strtold() convert string to long double</b> http://www.X-Hacker.org [<<Previous Entry] [^^Up^^] [Next Entry>>] [Menu] [About The Guide]
 _strtold()              Convert String to Long Double

 #include   <stdlib.h>

 long double _strtold (nptr, endptr);
 char *nptr;                    String to convert
 char **endptr;                 Pointer to single character forcing
                                    the end of the scan

    The _strtold() function is the long double precision version of
    strtol() or strtod(); it converts the character string pointed to by
    nptr and terminated by the single character pointed to by endptr
    into a long double precision value. See strtol() or strtod() for more
    information.

    Returns:    The long double precision result if successful;
                LHUGE_VAL or 0 otherwise.

 Portability:   Supported by the ANSI standard.

See Also: atof() atol() strtod() strtol()

Online resources provided by: http://www.X-Hacker.org --- NG 2 HTML conversion by Dave Pearson