Locale-Sensitive C/C++ String Operation Function
long double strtold(const char *string, char **tailptr);
long double wcstold(const wchar_t *string, wchar_t **tailptr);
Internationalization (I18n) Function Overview
The strtold function is analogous to strtod but returns a long double value. It reports errors in the same way as strtod . strtold can be much slower than strtod , but has more precision (on systems where long double is a separate type).
The wcstold function is equivalent in nearly all aspects to the strtold function but it handles wide character strings.
I18n Issues
Use the appropriate version of the function as required for internationalization support, noting the following:
Ensure that the current locale is set properly.
Recommended Replacements*
*If you're already using the recommended function, see I18n Issues for other reasons why Globalyzer is detecting the function.
Locale-Sensitive C/C++ String Operation Functions
|