solidity/test/libsolidity/semanticTests/fixedPoint/mul_by_constant.sol
2021-07-28 15:08:16 +02:00

10 lines
175 B
Solidity

contract c {
function mul(fixed a) public pure returns (fixed c) {
return a * 1.5;
}
}
// ====
// compileViaYul: also
// ----
// mul(fixed128x18): 100 -> 0x96