2010-06-17 Geoff Norton <gnorton@novell.com>
[mono.git] / mono / tests / float-pop.cs
blob2cb61fc1ba2d699fc62229d0622d35de4bfb3f3a
1 using System;
3 class Test {
5 static double test ()
7 return double.NaN;
10 static int Main()
12 ulong u = 3960077;
13 ulong f = 1000000;
15 for (int i = 0; i < 100; i++)
16 test ();
18 double d = u/(double)f;
20 if (d != 3.960077)
21 return 1;
23 return 0;