(seed = Math.random())
| 14765 | const eps = 1 / 0x100000000; |
| 14766 | |
| 14767 | function lcg(seed = Math.random()) { |
| 14768 | let state = (0 <= seed && seed < 1 ? seed / eps : Math.abs(seed)) | 0; |
| 14769 | return () => (state = mul * state + inc | 0, eps * (state >>> 0)); |
| 14770 | } |
| 14771 | |
| 14772 | function initRange(domain, range) { |
| 14773 | switch (arguments.length) { |
nothing calls this directly
no outgoing calls
no test coverage detected