Skip to content

Latest commit

 

History

History
175 lines (101 loc) · 4.03 KB

File metadata and controls

175 lines (101 loc) · 4.03 KB

GLAISHER

Glaisher-Kinkelin constant.

Glaisher-Kinkelin constant is defined as

$$A = \lim_{n\to\infty} \frac{K(n + 1)}{n^{n^2/2 + n/2 + 1/12}e^{-n^2/4}}$$

where

$$K(n) = \prod_{k=1}^{n-1} k^k$$

is the K-function.

Usage

var GLAISHER = require( '@stdlib/constants/float64/glaisher-kinkelin' );

GLAISHER

The Glaisher-Kinkelin constant.

var bool = ( GLAISHER === 1.2824271291006226 );
// returns true

Examples

var GLAISHER = require( '@stdlib/constants/float64/glaisher-kinkelin' );

console.log( 'Glaisher\'s constant: %d', GLAISHER );
// => 'Glaisher\'s constant: 1.2824271291006226'

C APIs

Usage

#include "stdlib/constants/float64/glaisher_kinkelin.h"

STDLIB_CONSTANT_FLOAT64_GLAISHER

Macro for the Glaisher-Kinkelin constant.