tinymt32
This commit is contained in:
1 parent
9a3c3440de
commit
315da6ce7f
4 files changed
+449
-5
No files matched your search
@@ -772,7 +772,7 @@ class BuiltinFunction
|
||||
}
|
||||
static double RNDF(PetitComputer p, int seedid)
|
||||
{
|
||||
return p.random.random(seedid, 0.0, 1.0);
|
||||
return p.random.RNDF(seedid);
|
||||
}
|
||||
static int RND(PetitComputer p, int max)
|
||||
{
|
||||
@@ -780,7 +780,7 @@ class BuiltinFunction
|
||||
}
|
||||
static double RNDF(PetitComputer p)
|
||||
{
|
||||
return p.random.random(0, 0.0, 1.0);
|
||||
return p.random.RNDF(0);
|
||||
}
|
||||
@StartOptional("W")
|
||||
static void DTREAD(out int Y, out int M, out int D, out int W)
|
||||
|
||||
Reference in new issue
Block a user