Update features
This commit is contained in:
parent
f66f052d7e
commit
4d7d15c3c7
34 changed files with 482 additions and 238 deletions
|
|
@ -1,9 +1,5 @@
|
|||
import { polyfillImul } from './polyfill-imul';
|
||||
|
||||
export class Random {
|
||||
public constructor(private seed: number) {
|
||||
polyfillImul();
|
||||
}
|
||||
public constructor(private seed: number) {}
|
||||
|
||||
public get next(): number {
|
||||
// result is in [0, 1)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue