mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-01-08 18:31:23 +00:00
Support: Cleanup ScaledNumber::getAdjusted() doc
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@211407 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
2d3fb0a171
commit
97eb788203
@ -67,10 +67,7 @@ inline std::pair<uint64_t, int16_t> getRounded64(uint64_t Digits, int16_t Scale,
|
||||
|
||||
/// \brief Adjust a 64-bit scaled number down to the appropriate width.
|
||||
///
|
||||
/// Adjust a soft float with 64-bits of digits down, keeping as much
|
||||
/// information as possible, and rounding up on half.
|
||||
///
|
||||
/// \pre Adding 1 to \c Scale will not overflow INT16_MAX.
|
||||
/// \pre Adding 64 to \c Scale will not overflow INT16_MAX.
|
||||
template <class DigitsT>
|
||||
inline std::pair<DigitsT, int16_t> getAdjusted(uint64_t Digits,
|
||||
int16_t Scale = 0) {
|
||||
|
Loading…
Reference in New Issue
Block a user