HomeSort by relevance Sort by last modified time
    Searched refs:stold (Results 1 - 2 of 2) sorted by null

  /external/libcxx/test/std/strings/string.conversions/
stold.pass.cpp 12 // long double stold(const string& str, size_t *idx = 0);
13 // long double stold(const wstring& str, size_t *idx = 0);
25 assert(std::stold("0") == 0);
26 assert(std::stold(L"0") == 0);
27 assert(std::stold("-0") == 0);
28 assert(std::stold(L"-0") == 0);
29 assert(std::stold("-10") == -10);
30 assert(std::stold(L"-10.5") == -10.5);
31 assert(std::stold(" 10") == 10);
32 assert(std::stold(L" 10") == 10)
    [all...]
  /external/libcxx/src/
string.cpp 334 stold(const string& str, size_t* idx) function
336 return as_float<long double>( "stold", str, idx );
340 stold(const wstring& str, size_t* idx) function
342 return as_float<long double>( "stold", str, idx );

Completed in 156 milliseconds