[clang] [llvm] [APFloat] Add APFloat support for FP6 data types (PR #94735)

Durgadoss R via cfe-commits cfe-commits at lists.llvm.org
Sat Jun 8 00:10:37 PDT 2024


================
@@ -68,6 +68,10 @@ enum class fltNonfiniteBehavior {
   // `fltNanEncoding` enum. We treat all NaNs as quiet, as the available
   // encodings do not distinguish between signalling and quiet NaN.
   NanOnly,
+
+  // This behavior is present in Float6E3M2FN and Float6E2M3FN types.
+  // There is no representation for Inf or NaN.
+  NoNanInf,
----------------
durga4github wrote:

Thank you, I will refresh with this "FiniteOnly".

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


More information about the cfe-commits mailing list