aboutsummaryrefslogtreecommitdiffstats
path: root/include/llvm/ADT/APInt.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/llvm/ADT/APInt.h')
-rw-r--r--include/llvm/ADT/APInt.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/include/llvm/ADT/APInt.h b/include/llvm/ADT/APInt.h
index 702bd71..0e127b8 100644
--- a/include/llvm/ADT/APInt.h
+++ b/include/llvm/ADT/APInt.h
@@ -686,6 +686,9 @@ public:
double signedRoundToDouble() const {
return roundToDouble(true);
}
+
+ /// @brief Compute the square root
+ APInt sqrt() const;
};
inline bool operator==(uint64_t V1, const APInt& V2) {