17 lines
295 B
C#
Raw Normal View History

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;
}
}