SYNOPSIS
#include <wchar.h>
float wcstof(const wchar_t *nptr, wchar_t **endptr);
double wcstod(const wchar_t *nptr, wchar_t **endptr);
long double wcstold(const wchar_t *nptr, wchar_t **endptr);
float wcstof_l(const wchar_t *nptr, wchar_t **endptr, locale_t locale);
double wcstod_l(const wchar_t *nptr, wchar_t **endptr, locale_t locale);
long double wcstold_l(const wchar_t *nptr, wchar_t **endptr, locale_t locale);
DESCRIPTION
The
The sequence of characters that is interpreted as a floating-point constant must be of the following form. The expected form begins with an optional + or - character followed by a non-empty sequence of digits followed by an optional radix and an optional exponent part. The exponent part consists of an e or E followed by an optional sign and one or more digits.
The radix is defined by the program's locale, category LC_NUMERIC. In a locale where the radix is not defined or in the POSIX locale, the radix defaults to a period (.).
The
PARAMETERS
locale
Is a locale_t perhaps returned by
RETURN VALUES
The
CONFORMANCE
MULTITHREAD SAFETY LEVEL
MT-Safe, with exceptions.
The
The
PORTING ISSUES
None.
AVAILABILITY
PTC MKS Toolkit for Professional Developers
PTC MKS Toolkit for Professional Developers 64-Bit Edition
PTC MKS Toolkit for Enterprise Developers
PTC MKS Toolkit for Enterprise Developers 64-Bit Edition
SEE ALSO
- Functions:
newlocale() ,setlocale() ,wcstoimax() ,wcstoimax_l() ,wcstol() ,wcstol_l() ,wcstoll() ,wcstoll_l() ,wcstoq() ,wcstoul() ,wcstoul_l() ,wcstoull() ,wcstoull_l() ,wcstoumax() ,wcstoumax_l() ,wcstouq()
PTC MKS Toolkit 10.5 Documentation Build 40.