From 97eb7882031bbfbef6e78af4d64a66494ff6750b Mon Sep 17 00:00:00 2001 From: "Duncan P. N. Exon Smith" Date: Fri, 20 Jun 2014 21:44:36 +0000 Subject: [PATCH] Support: Cleanup ScaledNumber::getAdjusted() doc git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@211407 91177308-0d34-0410-b5e6-96231b3b80d8 --- include/llvm/Support/ScaledNumber.h | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/include/llvm/Support/ScaledNumber.h b/include/llvm/Support/ScaledNumber.h index b5a1168f67a..8b7c5d0c4a0 100644 --- a/include/llvm/Support/ScaledNumber.h +++ b/include/llvm/Support/ScaledNumber.h @@ -67,10 +67,7 @@ inline std::pair 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 inline std::pair getAdjusted(uint64_t Digits, int16_t Scale = 0) { -- 2.34.1