projects
/
mono.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
2004-05-28 Vladimir Vukicevic <vladimir@pobox.com>
[mono.git]
/
mono
/
tests
/
float-pop.cs
1
using System;
2
3
class Test {
4
5
static double test ()
6
{
7
return double.NaN;
8
}
9
10
static int Main()
11
{
12
ulong u = 3960077;
13
ulong f = 1000000;
14
15
for (int i = 0; i < 100; i++)
16
test ();
17
18
double d = u/(double)f;
19
20
if (d != 3.960077)
21
return 1;
22
23
return 0;
24
}
25
}
26