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

Jakub Kuderski via llvm-commits llvm-commits at lists.llvm.org
Fri Jun 7 14:01:08 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,
----------------
kuhar wrote:

> FiniteOnly
I find this one most descriptive.

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


More information about the llvm-commits mailing list