Home
last modified time | relevance | path

Searched refs:stold (Results 1 – 3 of 3) sorted by relevance

/external/libcxx/test/std/strings/string.conversions/
Dstold.pass.cpp25 assert(std::stold("0") == 0); in main()
26 assert(std::stold(L"0") == 0); in main()
27 assert(std::stold("-0") == 0); in main()
28 assert(std::stold(L"-0") == 0); in main()
29 assert(std::stold("-10") == -10); in main()
30 assert(std::stold(L"-10.5") == -10.5); in main()
31 assert(std::stold(" 10") == 10); in main()
32 assert(std::stold(L" 10") == 10); in main()
34 assert(std::stold("10g", &idx) == 10); in main()
37 assert(std::stold(L"10g", &idx) == 10); in main()
[all …]
/external/libcxx/src/
Dstring.cpp340 stold(const string& str, size_t* idx) in stold() function
346 stold(const wstring& str, size_t* idx) in stold() function
/external/libcxx/include/
Dstring423 long double stold(const string& str, size_t* idx = 0);
443 long double stold(const wstring& str, size_t* idx = 0);
3878 _LIBCPP_FUNC_VIS long double stold(const string& __str, size_t* __idx = 0);
3898 _LIBCPP_FUNC_VIS long double stold(const wstring& __str, size_t* __idx = 0);