Tor  0.4.6.0-alpha-dev
math Directory Reference

lib/math: Floating-point math utilities.

More...

Files

file  fp.c [code]
 Basic floating-point compatibility and convenience code.
 
file  fp.h [code]
 Header for fp.c.
 
file  laplace.c [code]
 Implements a Laplace distribution, used for adding noise to things.
 
file  laplace.h [code]
 Header for laplace.c.
 
file  prob_distr.c [code]
 Implements various probability distributions. Almost all code is courtesy of Riastradh.
 
file  prob_distr.h [code]
 Header for prob_distr.c.
 

Detailed Description

lib/math: Floating-point math utilities.

This module includes a bunch of floating-point compatibility code, and implementations for several probability distributions.