Update features

This commit is contained in:
schmelczerandras 2020-11-18 23:31:26 +01:00
parent f66f052d7e
commit 4d7d15c3c7
34 changed files with 482 additions and 238 deletions

View file

@ -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)