@stdlib/constants-float16-eulergamma
v0.2.1
Published
Half-precision (float16) approximation of the Euler–Mascheroni constant.
Readme
FLOAT16_EULERGAMMA
The Euler–Mascheroni constant γ is defined as the limiting difference between the harmonic series and the natural logarithm:
Installation
npm install @stdlib/constants-float16-eulergammaUsage
var FLOAT16_EULERGAMMA = require( '@stdlib/constants-float16-eulergamma' );FLOAT16_EULERGAMMA
The Euler–Mascheroni constant.
var bool = ( FLOAT16_EULERGAMMA === 0.5771484375 );
// returns trueExamples
var FLOAT16_EULERGAMMA = require( '@stdlib/constants-float16-eulergamma' );
console.log( FLOAT16_EULERGAMMA );
// => 0.5771484375Notice
This package is part of stdlib, a standard library for JavaScript and Node.js, with an emphasis on numerical and scientific computing. The library provides a collection of robust, high performance libraries for mathematics, statistics, streams, utilities, and more.
For more information on the project, filing bug reports and feature requests, and guidance on how to develop stdlib, see the main project repository.
Community
License
See LICENSE.
Copyright
Copyright © 2016-2026. The Stdlib Authors.
