mirror of
https://github.com/ethereum/solidity
synced 2023-10-03 13:03:40 +00:00
8 lines
215 B
Solidity
8 lines
215 B
Solidity
contract test {
|
|
function f() public {
|
|
ufixed a = 3 ** ufixed(1.5);
|
|
}
|
|
}
|
|
// ----
|
|
// TypeError 2271: (61-77): Operator ** not compatible with types int_const 3 and ufixed128x18. Exponent is fractional.
|