mirror of
https://github.com/ethereum/solidity
synced 2023-10-03 13:03:40 +00:00
10 lines
175 B
Solidity
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
|