solidity/test/libsolidity/syntaxTests/types/rational_number_literal_limit_3.sol

10 lines
300 B
Solidity
Raw Normal View History

2018-03-26 17:48:20 +00:00
contract c {
function bignum() public {
uint a;
a = 134562324532464.234452335168163517E1200 / 134562324532464.234452335168163517E1200; // still fine
a = 134562324532464.2344523351681635177E1200; // too large
}
}
// ----
// TypeError: (181-221): Invalid literal value.