Sign in
android
/
platform
/
tools
/
idea
/
9b5d02ac8c92b1e71523cc15cb3d168d57fbd898
/
.
/
plugins
/
InspectionGadgets
/
test
/
com
/
siyeh
/
igtest
/
bugs
/
math_random_cast_to_int
/
MathRandomCastToInt.java
blob: 0b10b4ee07d581816736b7466e74d0506280a66e [
file
] [
log
] [
blame
]
package
com
.
siyeh
.
igtest
.
bugs
.
math_random_cast_to_int
;
public
class
MathRandomCastToInt
{
void
foo
()
{
int
runs
=
(
int
)
Math
.
random
()
*
1000000
*
2
;
long
random
=
(
long
)
Math
.
random
()
*
10
;
}
}