mirror of
https://github.com/ethereum/solidity
synced 2023-10-03 13:03:40 +00:00
Change fixed point types to have digit count
Signed-off-by: VoR0220 <rj@erisindustries.com>
This commit is contained in:
1 parent
6d6d4f6907
commit
78769f3b39
5 files changed
+127
-113
No files matched your search
@@ -504,7 +504,7 @@ void CompilerUtils::convertType(
|
||||
//shift all integer bits onto the left side of the fixed type
|
||||
FixedPointType const& targetFixedPointType = dynamic_cast<FixedPointType const&>(_targetType);
|
||||
if (auto typeOnStack = dynamic_cast<IntegerType const*>(&_typeOnStack))
|
||||
if (targetFixedPointType.integerBits() > typeOnStack->numBits())
|
||||
if (targetFixedPointType.numBits() > typeOnStack->numBits())
|
||||
cleanHigherOrderBits(*typeOnStack);
|
||||
solUnimplemented("Not yet implemented - FixedPointType.");
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user