JuliaSIMD / JuliaSIMD/VectorizedRNG.jl
Generate integer numbers
Open
- Dominant language
- Julia
- Stars
- 36
- Forks
- 7
- PR merge metrics
- No merged PRs in 30d
Description
Hi,
It seems these (and all?) RNGs generate integer numbers behind the scenes, but I couldn't get them to generate such:
julia> rand(local_rng(), 1:3)
ERROR: MethodError: no method matching rng_native_52(::VectorizedRNG.Xoshift{4})
Is it just that floating point is currently implemented (and exported) but integer isn't yet? Or did I overlook how, or even not meant for integer? I found:
"xoroshiro128+ 1.0, our best and fastest small-state generator for floating-point numbers. [..] If you are concerned, use xoroshiro128** or xoshiro256+."
Contributor guide
No contributing guide indexed for this repository
Assessment
This issue has not been assessed yet.