[llvm] [libc] [libc][math] Implement nan(f|l) functions (PR #76690)

Nishant Mittal via llvm-commits llvm-commits at lists.llvm.org
Thu Jan 4 08:38:51 PST 2024


================
@@ -1206,6 +1226,29 @@ LIBC_INLINE StrToNumResult<T> strtofloatingpoint(const char *__restrict src) {
   return {T(result), index, error};
 }
 
+template <class T> LIBC_INLINE StrToNumResult<T> strtonan(const char *arg) {
----------------
nishantwrp wrote:

done

https://github.com/llvm/llvm-project/pull/76690


More information about the llvm-commits mailing list