[PATCH] D134859: [clang][Interp] Implement basic support for floating point values
Timm Bäder via Phabricator via cfe-commits
cfe-commits at lists.llvm.org
Thu Oct 6 05:25:56 PDT 2022
tbaeder added inline comments.
================
Comment at: clang/lib/AST/Interp/Floating.h:33-34
+ /// Primitive representing limits.
+ // static constexpr auto Min = std::numeric_limits<float>::min();
+ // static constexpr auto Max = std::numeric_limits<float>::max();
+
----------------
This is currently commented out, but I //think// I can get the semantics of the `APFloat` and ask its semantics for min/max values.
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D134859/new/
https://reviews.llvm.org/D134859
More information about the cfe-commits
mailing list