[PATCH] D134859: [clang][Interp] Implement basic support for floating point values

Shafik Yaghmour via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Thu Sep 29 17:53:56 PDT 2022


shafik added inline comments.


================
Comment at: clang/lib/AST/Interp/Floating.h:80
+  bool isMinusOne() const { return V == -1; }
+
+  ComparisonCategoryResult compare(const Floating &RHS) const {
----------------
`bool isNaN() const { return V != V; }`


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

https://reviews.llvm.org/D134859



More information about the cfe-commits mailing list