a575963da9
Former-commit-id: da6be194a6b1221998fc28233f2503bd61dd9d14
17 lines
295 B
C#
17 lines
295 B
C#
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;
|
|
}
|
|
}
|