solidity/test/libsolidity/syntaxTests/types/rational_number_literal_limit_3.sol
2018-04-16 11:45:55 +02:00

10 lines
300 B
Solidity

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.