aboutsummaryrefslogtreecommitdiffstats
path: root/test/libsolidity/syntaxTests/signed_rational_modulus.sol
blob: b37d33d0cc5a0aacde0c00cef5f2de7703c41ce6 (plain) (blame)
1
2
3
4
5
6
7
8
contract test {
    function f() public pure {
        fixed a = 0.42578125 % -0.4271087646484375;
        fixed b = .5 % a;
        fixed c = a % b;
        a; b; c;
    }
}