Welcome to mirror list, hosted at ThFree Co, Russian Federation.

test-733.cs « tests « mcs - github.com/mono/mono.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: 1131908f089a31fa48feb00293aabea1f12f9f84 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
using System;

public class Test
{
	public static int Main ()
	{
		float a = 1f / 3;
		float b = (float) Math.Acos ((float) (a * 3));
		Console.WriteLine (b);
		if (b != 0 && !float.IsNaN (b)) {
			throw new ApplicationException (b.ToString () + b.GetType ().ToString ());
		}

		return 0;
	}
}