[flang-commits] [PATCH] D127025: [flang][runtime] Use __float128 where possible & needed in runtime

مهدي شينون (Mehdi Chinoune) via Phabricator via flang-commits flang-commits at lists.llvm.org
Sun Jun 5 04:51:58 PDT 2022


MehdiChinoune added inline comments.


================
Comment at: flang/runtime/random.cpp:123-124
+    if constexpr (HasCppTypeFor<TypeCategory::Real, 10>) {
+      Generate<CppTypeFor<TypeCategory::Real, 10>, 64>(harvest);
+      return;
+    }
----------------
Shouldn't be:
```
#if LDBL_MANT_DIG == 64
       Generate<CppTypeFor<TypeCategory::Real, 10>, 64>(harvest);
       return;
+#endif
```



CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D127025/new/

https://reviews.llvm.org/D127025



More information about the flang-commits mailing list