Changes in directory llvm/include/llvm/ADT:
APInt.h updated: 1.24 -> 1.25 --- Log message: Allow the RoundDoubleToAPInt function to specify a width to use. --- Diffs of the changes: (+1 -1) APInt.h | 2 +- 1 files changed, 1 insertion(+), 1 deletion(-) Index: llvm/include/llvm/ADT/APInt.h diff -u llvm/include/llvm/ADT/APInt.h:1.24 llvm/include/llvm/ADT/APInt.h:1.25 --- llvm/include/llvm/ADT/APInt.h:1.24 Mon Feb 26 15:06:05 2007 +++ llvm/include/llvm/ADT/APInt.h Tue Feb 27 12:22:31 2007 @@ -654,7 +654,7 @@ /// RoundDoubleToAPInt - This function convert a double value to an APInt value. /// @brief Converts the given double value into a APInt. -APInt RoundDoubleToAPInt(double Double); +APInt RoundDoubleToAPInt(double Double, uint32_t width = 64); /// RoundFloatToAPInt - Converts a float value into an APInt value. /// @brief Converts a float value into a APInt. _______________________________________________ llvm-commits mailing list llvm-commits@cs.uiuc.edu http://lists.cs.uiuc.edu/mailman/listinfo/llvm-commits