package xoshiro-simd

  1. Overview
  2. Docs

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.