solidity/test/libsolidity/syntaxTests/signed_rational_modulus.sol
2018-04-11 21:17:10 +02:00

9 lines
175 B
Solidity

contract test {
function f() public pure {
fixed a = 0.42578125 % -0.4271087646484375;
fixed b = .5 % a;
fixed c = a % b;
a; b; c;
}
}