KT-873 fixing wrong register calculations

This commit is contained in:
Alex Tkachman
2012-01-04 14:29:21 +02:00
parent 629cdfc822
commit 3fd825d1a0
3 changed files with 16 additions and 6 deletions
@@ -0,0 +1,11 @@
fun box() : String {
val fps : Double = 1.dbl
var mspf : Long
{
if ((fps.int == 0))
mspf = 0
else
mspf = (((1000.0 / fps)).lng)
}
return "OK"
}