solidity/test/libsolidity/syntaxTests/signed_rational_modulus.sol

9 lines
175 B
Solidity
Raw Normal View History

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