Skip to content

Commit 6260712

Browse files
authored
Merge pull request #16137 from MozirDmitriy/mzd
Fix wrong base used in the docstring of `fitsPrecisionBase2()`
2 parents 459ad24 + 683ad06 commit 6260712

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

libsolidity/analysis/ConstantEvaluator.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -59,7 +59,7 @@ bool fitsPrecisionExp(bigint const& _base, bigint const& _exp)
5959
return bitsNeeded <= bitsMax;
6060
}
6161

62-
/// Checks whether _mantissa * (2 ** _expBase10) fits into 4096 bits.
62+
/// Checks whether _mantissa * (2 ** _expBase2) fits into 4096 bits.
6363
bool fitsPrecisionBase2(bigint const& _mantissa, uint32_t _expBase2)
6464
{
6565
return fitsPrecisionBaseX(_mantissa, 1.0, _expBase2);

0 commit comments

Comments
 (0)