mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2024-12-15 04:30:12 +00:00
Allow the RoundDoubleToAPInt function to specify a width to use.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@34672 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
dbec2d9dcf
commit
409f092766
@ -654,7 +654,7 @@ inline float RoundAPIntToFloat(const APInt& APIVal) {
|
||||
|
||||
/// 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.
|
||||
|
Loading…
Reference in New Issue
Block a user