SAM: Stochastic Arithmetic in Multiprecision

The SAM library implements discrete stochastic arithmetic in arbitrary precision. It enables rounding error estimation in arbitrary precision programs. The control of accuracy is performed on stochastic variables, the stochastic types being provided by SAM.
It requires the MPFR library, which itself requires the GMP library.

Two different versions of SAM are available.