Changes in directory llvm/include/llvm/ADT:
APInt.h updated: 1.30 -> 1.31 --- Log message: Add a square root function. --- Diffs of the changes: (+3 -0) APInt.h | 3 +++ 1 files changed, 3 insertions(+) Index: llvm/include/llvm/ADT/APInt.h diff -u llvm/include/llvm/ADT/APInt.h:1.30 llvm/include/llvm/ADT/APInt.h:1.31 --- llvm/include/llvm/ADT/APInt.h:1.30 Wed Feb 28 11:33:36 2007 +++ llvm/include/llvm/ADT/APInt.h Wed Feb 28 23:39:56 2007 @@ -686,6 +686,9 @@ double signedRoundToDouble() const { return roundToDouble(true); } + + /// @brief Compute the square root + APInt sqrt() const; }; inline bool operator==(uint64_t V1, const APInt& V2) { _______________________________________________ llvm-commits mailing list llvm-commits@cs.uiuc.edu http://lists.cs.uiuc.edu/mailman/listinfo/llvm-commits