Skip to content

Commit 683ad06

Browse files
authored
Fix typo in fitsPrecisionBase2 function comment
1 parent 459ad24 commit 683ad06

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)