[llvm-commits] CVS: llvm/include/llvm/ADT/APInt.h

Reid Spencer reid at x10sys.com
Tue Feb 27 10:22:48 PST 2007



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.






More information about the llvm-commits mailing list