repo.or.cz
/
mono-project.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
[mono-api-info] First filter, then order, and use ordinal comparison.
[mono-project.git]
/
mono
/
tests
/
float-pop.cs
blob
2cb61fc1ba2d699fc62229d0622d35de4bfb3f3a
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