squirrel3
squirrel3(value) ⇒ number
Based on Squirrel3 hash function by Squirrel Eiserloh Alex: Personally I found it to have low entropy, so I don't see it as very useful
Kind: global function
Returns: number
- signed 32-bit integer
See: GDC 2017 presentation on "Math for Game Programmers: Noise-Based RNG"
Param | Type | Description |
---|---|---|
value | number | expected to be an integer, if not - it will be truncated to such |