math-functions-0.2.1.0: Special functions and Chebyshev polynomials

Copyright(c) 2009 2011 Bryan O'Sullivan
LicenseBSD3
Maintainerbos@serpentine.com
Stabilityexperimental
Portabilityportable
Safe HaskellSafe
LanguageHaskell2010

Numeric.MathFunctions.Constants

Contents

Description

Constant values common to much numeric code.

Synopsis

IEE754 constants

m_epsilon :: Double #

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

m_huge :: Double #

Largest representable finite value.

m_tiny :: Double #

The smallest representable positive normalized value.

m_max_exp :: Int #

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

m_pos_inf :: Double #

Positive infinity.

m_neg_inf :: Double #

Negative infinity.

m_NaN :: Double #

Not a number.

m_max_log :: Double #

Maximum possible finite value of log x

m_min_log :: Double #

Logarithm of smallest normalized double (m_tiny)

Mathematical constants

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_sqrt_2 :: Double #

sqrt 2

m_sqrt_2_pi :: Double #

sqrt (2 * pi)

m_eulerMascheroni :: Double #

Euler–Mascheroni constant (γ = 0.57721...)