mirror of
https://github.com/ethereum/solidity
synced 2023-10-03 13:03:40 +00:00
Fix literals with exponents with mantissa of zero.
This commit is contained in:
@@ -19,6 +19,7 @@ contract c {
|
||||
a = 1E1233 ** -1E1233;
|
||||
a = -1E1233 ** 1E1233;
|
||||
a = -1E1233 ** -1E1233;
|
||||
a = 0E123456789; // fine
|
||||
}
|
||||
}
|
||||
// ----
|
||||
|
||||
Reference in New Issue
Block a user