Skip to content

rainerzufalldererste/paranormal_distribution

Repository files navigation

paranormal_distribution

A tiny, fast, header-only weighted integer distribution for random value sequences.

  • Creates random int8_t values weighted around 0 from 8-22 random bits
  • Different smoothing levels (with near-identical performance characteristics)
  • Written in C++
  • Branchless, SIMD friendly Algorithm

What do the distributions look like?

Paranormal Distribution 2 (8 Bit + Smoothing Bits)







Tiny Paranormal Distribution (8 Bit)


Tiny Paranormal Distribution (16 Bit + Smoothing Bits)








About

Fast header-only weighted integer distribution sequence from random values.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published