Home
last modified time | relevance | path

Searched refs:stof (Results 1 – 8 of 8) sorted by relevance

/llvm-project-15.0.7/libcxx/test/std/strings/string.conversions/
H A Dstof.pass.cpp23 assert(std::stof("0") == 0); in main()
24 assert(std::stof("-0") == 0); in main()
25 assert(std::stof("-10") == -10); in main()
26 assert(std::stof(" 10") == 10); in main()
64 (void)std::stof("", &idx); in main()
82 (void)std::stof("a1", &idx); in main()
91 assert(std::stof(L"0") == 0); in main()
92 assert(std::stof(L"-0") == 0); in main()
93 assert(std::stof(L"-10.5") == -10.5); in main()
94 assert(std::stof(L" 10") == 10); in main()
[all …]
/llvm-project-15.0.7/llvm/test/CodeGen/AMDGPU/
H A Dinvalid-addrspacecast.ll6 %stof = addrspacecast i32 addrspace(3)* %ptr to i32 addrspace(1)*
7 store volatile i32 0, i32 addrspace(1)* %stof
13 %stof = addrspacecast i32 addrspace(3)* %ptr to i32 addrspace(6)*
14 %load = load volatile i32, i32 addrspace(6)* %stof
H A Daddrspacecast.ll40 %stof = addrspacecast i32 addrspace(3)* %ptr to i32*
41 store volatile i32 7, i32* %stof
65 %stof = addrspacecast i32 addrspace(3)* %ptr to i32*
66 store volatile i32 7, i32* %stof
106 %stof = addrspacecast i32 addrspace(5)* %ptr to i32*
107 store volatile i32 7, i32* %stof
122 store volatile i32 7, i32* %stof
134 %ld = load volatile i32, i32* %stof
148 %ld = load volatile i32, i32 addrspace(1)* %stof
415 %load = load volatile i32, i32* %stof
[all …]
H A Dannotate-kernel-features-hsa.ll439 %stof = addrspacecast i32 addrspace(3)* %ptr to i32*
440 store volatile i32 0, i32* %stof
457 %stof = addrspacecast i32 addrspace(5)* %ptr to i32*
458 store volatile i32 0, i32* %stof
494 %stof = addrspacecast i32 addrspace(1)* %ptr to i32*
495 store volatile i32 0, i32* %stof
506 %stof = addrspacecast i32 addrspace(4)* %ptr to i32*
507 %ld = load volatile i32, i32* %stof
H A Dannotate-kernel-features-hsa-call.ll466 %stof = addrspacecast i32 addrspace(3)* %ptr to i32 addrspace(4)*
467 store volatile i32 0, i32 addrspace(4)* %stof
485 %stof = addrspacecast i32 addrspace(3)* %ptr to i32 addrspace(4)*
486 store volatile i32 0, i32 addrspace(4)* %stof
505 %stof = addrspacecast i32 addrspace(3)* %ptr to i32 addrspace(4)*
506 store volatile i32 0, i32 addrspace(4)* %stof
/llvm-project-15.0.7/libcxx/src/
H A Dstring.cpp245 float stof(const string& str, size_t* idx) { in stof() function
278 float stof(const wstring& str, size_t* idx) { in stof() function
/llvm-project-15.0.7/libcxx/include/
H A Dstring469 float stof (const string& str, size_t* idx = nullptr);
489 float stof (const wstring& str, size_t* idx = nullptr);
4517 _LIBCPP_FUNC_VIS float stof (const string& __str, size_t* __idx = nullptr);
4538 _LIBCPP_FUNC_VIS float stof (const wstring& __str, size_t* __idx = nullptr);
/llvm-project-15.0.7/libcxx/docs/Status/
H A DCxx17Issues.csv38 "`2403 <https://wg21.link/LWG2403>`__","stof() should call strtof() and wcstof()","Lenexa","|Comple…