sfmt icon indicating copy to clipboard operation
sfmt copied to clipboard

Rust implementation of SIMD-oriented Fast Mersenne Twister (SFMT) using stable SIMD

Results 6 sfmt issues
Sort by recently updated
recently updated
newest added

### The source of unsoundness Hi, we are the PhD researchers from [SunLab](https://sunlab-gmu.github.io/). We found that `pop64` might have unsound implementation. https://github.com/rust-math/sfmt/blob/7767d230942c7ad6f8ffbeb6733a935f2e3718b1/src/lib.rs#L81-L89 At line 85, `p` is aligned to 4...

``` $ cargo +nightly bench Compiling sfmt v0.7.0 (/home/teramura/rhq/github.com/rust-math/sfmt) error[E0433]: failed to resolve: use of undeclared type `XorShiftRng` --> benches/rand_gen.rs:27:31 | 27 | def_bench!(xorshift, f64, XorShiftRng::from_entropy()); | ^^^^^^^^^^^ use of...

bug

Rust 1.54.0 causes compiler error likes: ``` error: generic parameters may not be used in const operations --> src/sfmt.rs:39:39 | 39 | let y = _mm_srli_epi32(b, Self::SFMT_SR1); | ^^^^^^^^^^^^^^ cannot...

Large size Monte-Carlo simulation usually takes very long time, and needs to be save its state.

# Background When compiling a project that depends on this library with the `--target wasm32-unknown-unknown` option, the following error occurs: ``` error[E0412]: cannot find type `__m128i` in this scope -->...