mirror of
				https://github.com/ethereum/solidity
				synced 2023-10-03 13:03:40 +00:00 
			
		
		
		
	
		
			
				
	
	
		
			11 lines
		
	
	
		
			417 B
		
	
	
	
		
			Solidity
		
	
	
	
	
	
			
		
		
	
	
			11 lines
		
	
	
		
			417 B
		
	
	
	
		
			Solidity
		
	
	
	
	
	
| contract C {
 | |
|     function g() public pure {
 | |
|         int a;
 | |
|         a ** 1E1233;
 | |
|         a ** (1/2);
 | |
|     }
 | |
| }
 | |
| // ----
 | |
| // TypeError 2271: (67-78): Built-in binary operator ** cannot be applied to types int256 and int_const 1000...(1226 digits omitted)...0000. Exponent too large.
 | |
| // TypeError 2271: (88-98): Built-in binary operator ** cannot be applied to types int256 and rational_const 1 / 2. Exponent is fractional.
 |