summaryrefslogtreecommitdiff
path: root/tests/src/JIT/Methodical/fp/exgen/5w1d-06.cs
blob: 50e522cca87b7f03030bd2b216c1a8cea1271af6 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
// Copyright (c) Microsoft. All rights reserved.
// Licensed under the MIT license. See LICENSE file in the project root for full license information.

using System;
internal class testout1
{
    private static double[,,] s_arr3d_0 = new double[5, 6, 4];
    private static double[,] s_arr2d_0 = new double[3, 6];


    public static int Func_0()
    {
        s_arr3d_0[4, 0, 3] = 1177305879;
        s_arr2d_0[2, 1] = 1177305779D;
        if ((s_arr2d_0[2, 1]) <= ((int)(s_arr3d_0[4, 0, 3]) % (int)s_arr2d_0[2, 1]))
            Console.WriteLine("Func_0: <= true");
        int retval_0 = (int)(s_arr3d_0[4, 0, 3]) % (int)s_arr2d_0[2, 1];
        return retval_0;
    }

    public static int Main()
    {
        int retval;
        retval = Convert.ToInt32(Func_0());
        if ((retval >= 99) && (retval < 100))
            retval = 100;
        if ((retval > 100) && (retval <= 101))
            retval = 100;
        Console.WriteLine(retval);
        return retval;
    }
}