Lines Matching refs:stod
23 assert(std::stod("0") == 0); in main()
24 assert(std::stod(L"0") == 0); in main()
25 assert(std::stod("-0") == 0); in main()
26 assert(std::stod(L"-0") == 0); in main()
27 assert(std::stod("-10") == -10); in main()
28 assert(std::stod(L"-10.5") == -10.5); in main()
29 assert(std::stod(" 10") == 10); in main()
30 assert(std::stod(L" 10") == 10); in main()
32 assert(std::stod("10g", &idx) == 10); in main()
35 assert(std::stod(L"10g", &idx) == 10); in main()
41 assert(std::stod("1.e60", &idx) == 1.e60); in main()
52 assert(std::stod(L"1.e60", &idx) == 1.e60); in main()
63 assert(std::stod("1.e360", &idx) == INFINITY); in main()
72 assert(std::stod(L"1.e360", &idx) == INFINITY); in main()
82 assert(std::stod("INF", &idx) == INFINITY); in main()
96 assert(std::stod(L"INF", &idx) == INFINITY); in main()
110 assert(std::isnan(std::stod("NAN", &idx))); in main()
124 assert(std::isnan(std::stod(L"NAN", &idx))); in main()
135 std::stod("", &idx); in main()
144 std::stod(L"", &idx); in main()
153 std::stod(" - 8", &idx); in main()
162 std::stod(L" - 8", &idx); in main()
171 std::stod("a1", &idx); in main()
180 std::stod(L"a1", &idx); in main()