Home
last modified time | relevance | path

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

/llvm-project-15.0.7/libcxx/test/std/strings/string.conversions/
H A Dstold.pass.cpp23 assert(std::stold("0") == 0); in main()
24 assert(std::stold("-0") == 0); in main()
25 assert(std::stold("-10") == -10); in main()
26 assert(std::stold(" 10") == 10); in main()
52 (void)std::stold("", &idx); in main()
70 (void)std::stold("a1", &idx); in main()
88 assert(std::stold(L"0") == 0); in main()
89 assert(std::stold(L"-0") == 0); in main()
90 assert(std::stold(L"-10.5") == -10.5); in main()
91 assert(std::stold(L" 10") == 10); in main()
[all …]
/llvm-project-15.0.7/libcxx/src/
H A Dstring.cpp253 long double stold(const string& str, size_t* idx) { in stold() function
286 long double stold(const wstring& str, size_t* idx) { in stold() function
/llvm-project-15.0.7/flang/unittests/Evaluate/
H A Dreal.cpp157 MATCH(x, static_cast<std::uint64_t>(std::stold(decimal))) in basicTests()
/llvm-project-15.0.7/libcxx/include/
H A Dstring471 long double stold(const string& str, size_t* idx = nullptr);
491 long double stold(const wstring& str, size_t* idx = nullptr);
4519 _LIBCPP_FUNC_VIS long double stold(const string& __str, size_t* __idx = nullptr);
4540 _LIBCPP_FUNC_VIS long double stold(const wstring& __str, size_t* __idx = nullptr);