Converts the initial part of a wide string to a specified-type floating-point number.
double wcstod(const wchar_t *restrict nptr, wchar_t **restrict endptr);
float wcstof(const wchar_t *restrict nptr, wchar_t **restrict endptr);
long double wcstold(const wchar_t *restrict nptr, wchar_t **restrict endptr);
nptr Pointer to a number-representing string to be converted
endptr Pointer to the storage area containing a pointer to the first character that does not represent a floating-point number
Normal: f the string pointed by nptr begins with a character that does not represent a floating-point number: 0
If the string pointed by nptr begins with a character thatrepresents a floating-point number: Converted data as a specified-type floating-point number
Abnormal: If the converted data overflows: HUGE_VAL, HUGE_VALF, or HUGE_VALL with the same sign as that of the string before conversion
If the converted data underflows: 0
If the converted result overflows or underflows, errno is set.
The wcstod function group is the wide-character version of the strtod function group.