aboutsummaryrefslogtreecommitdiffstats
path: root/test/libsolidity/syntaxTests/nameAndTypeResolution/312_leading_zero_rationals_convert.sol
blob: 9fe7c6f7e54f2c5dcabfda0cfecf155462c0270a (plain) (blame)
1
2
3
4
5
6
7
8
9
contract A {
    function f() pure public {
        ufixed16x2 a = 0.5;
        ufixed256x52 b = 0.0000000000000006661338147750939242541790008544921875;
        fixed16x2 c = -0.5;
        fixed256x52 d = -0.0000000000000006661338147750939242541790008544921875;
        a; b; c; d;
    }
}