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

Portability | portable
Stability | experimental
Maintainer | bos@serpentine.com

Statistics.Constants

Description

Constant values common to much statistics code.

Synopsis

- m_epsilon :: Double
- m_huge :: Double
- m_tiny :: Double
- m_1_sqrt_2 :: Double
- m_2_sqrt_pi :: Double
- m_ln_sqrt_2_pi :: Double
- m_max_exp :: Int
- m_sqrt_2 :: Double
- m_sqrt_2_pi :: Double
- m_pos_inf :: Double
- m_neg_inf :: Double
- m_NaN :: Double

# Documentation

m_epsilon :: Double

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

m_huge :: Double

A very large number.

m_tiny :: Double

m_1_sqrt_2 :: Double

    1 / sqrt 2

m_2_sqrt_pi :: Double

    2 / sqrt pi

m_ln_sqrt_2_pi :: Double

    log(sqrt((2*pi))

m_max_exp :: Int

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

m_sqrt_2 :: Double

    sqrt 2

m_sqrt_2_pi :: Double

    sqrt (2 * pi)

m_pos_inf :: Double

Positive infinity.

m_neg_inf :: Double

Negative infinity.

m_NaN :: Double

Not a number.