statistics-0.8.0.4: A library of statistical types, data, and functions

Statistics.Constants

Description

Constant values common to much statistics code.

Synopsis

m_epsilon :: DoubleSource

The smallest Double ε such that 1 + ε ≠ 1.

Double

m_huge :: DoubleSource

A very large number.

m_1_sqrt_2 :: DoubleSource

1 / sqrt 2

m_2_sqrt_pi :: DoubleSource

2 / sqrt pi

m_ln_sqrt_2_pi :: DoubleSource

log(sqrt((2*pi)) / 2

m_max_exp :: IntSource

The largest Int x such that 2**(x-1) is approximately representable as a Double.

Int

m_sqrt_2 :: DoubleSource

sqrt 2

m_sqrt_2_pi :: DoubleSource

sqrt (2 * pi)

m_pos_inf :: DoubleSource

Positive infinity.

m_neg_inf :: DoubleSource

Negative infinity.

m_NaN :: DoubleSource

Not a number.