[flang-commits] [flang] [flang] Subnormal arguments to and results from SPACING (PR #108861)

Peter Klausler via flang-commits flang-commits at lists.llvm.org
Mon Sep 16 12:59:30 PDT 2024


================
@@ -88,12 +88,16 @@ struct MaxOrMinIdentity<TypeCategory::Real, 16, IS_MAXVAL,
 
 // Minimum finite representable value.
 // For floating-point types, returns minimum positive normalized value.
-template <typename T> struct MinValue {
+template <int PREC, typename T> struct MinValue {
----------------
klausler wrote:

Yes, and I do below, where it allows me to define a template specialization for real(2).

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


More information about the flang-commits mailing list