aboutsummaryrefslogtreecommitdiffstats
path: root/test/libsolidity/syntaxTests/nameAndTypeResolution/313_fixed_type_size_capabilities.sol
blob: 441cf81e6c9710f1cf156b9e1a9a4ba9d5cd1a28 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
contract test {
    function f() public {
        ufixed256x1 a = 123456781234567979695948382928485849359686494864095409282048094275023098123.5;
        ufixed256x77 b = 0.920890746623327805482905058466021565416131529487595827354393978494366605267637;
        ufixed224x78 c = 0.000000000001519884736399797998492268541131529487595827354393978494366605267646;
        fixed256x1 d = -123456781234567979695948382928485849359686494864095409282048094275023098123.5;
        fixed256x76 e = -0.93322335481643744342575580035176794825198893968114429702091846411734101080123;
        fixed256x79 g = -0.0001178860664374434257558003517679482519889396811442970209184641173410108012309;
        a; b; c; d; e; g;
    }
}
// ----
// Warning: (20-707): Function state mutability can be restricted to pure