mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-01-24 08:33:39 +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.
|
/// \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
|
/// \pre Adding 64 to \c Scale will not overflow INT16_MAX.
|
||||||
/// information as possible, and rounding up on half.
|
|
||||||
///
|
|
||||||
/// \pre Adding 1 to \c Scale will not overflow INT16_MAX.
|
|
||||||
template <class DigitsT>
|
template <class DigitsT>
|
||||||
inline std::pair<DigitsT, int16_t> getAdjusted(uint64_t Digits,
|
inline std::pair<DigitsT, int16_t> getAdjusted(uint64_t Digits,
|
||||||
int16_t Scale = 0) {
|
int16_t Scale = 0) {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user