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

Nishant Mittal via llvm-commits llvm-commits at lists.llvm.org
Wed Jan 3 23:36:59 PST 2024


================
@@ -1055,6 +1055,38 @@ hexadecimal_string_to_float(const char *__restrict src,
   return output;
 }
 
+template <class T>
+LIBC_INLINE fputil::FPBits<T> nan_from_ncharseq(const char *__restrict ncharseq,
----------------
nishantwrp wrote:

Makes sense, thank you for the explanation. Done!

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


More information about the llvm-commits mailing list