package xoshiro-simd

All checked builds pass
  1. Overview
  2. Docs
SIMD-accelerated xoshiro256 PRNG

Install

dune-project
 Dependency

Authors

Maintainers

Sources

0.1.1.tar.gz
md5=5b18db10a3101200c6e2dad6dfd9140d
sha512=f92eb4823187b5f5776881084e3496a36136876563a6f6c99e4169691e2e165ac1a550a790a601968335e341bdd69c7da394a849f53f60dfd2a1ac4df4c5e045

doc/index.html

xoshiro-simd

API

Library xoshiro-simd

  • Xoshiro_simd Fast random number generator for OCaml that uses SIMD where available. Works on OCaml 4.13 and up. Uses xoshiro256++ for integers and xoshiro256+ for floats. Not cryptographically secure. For a given library version, output from a given seed is identical across backends and hosts, except that nativeint values and the int/nativeint Bigarray kinds differ between 32 bit and 64 bit hosts, and on i386 only, float values might differ in the last bit. i386 is not a good platform for reproducible floats and this library isn't going to fix the output there. See the README for details.