@stdlib/constants-float16-sqrt-two
v0.1.1
Published
Half-precision (float16) approximation of the square root of 2.
Readme
FLOAT16_SQRT2
Square root of
2.
Installation
npm install @stdlib/constants-float16-sqrt-twoUsage
var FLOAT16_SQRT2 = require( '@stdlib/constants-float16-sqrt-two' );FLOAT16_SQRT2
Square root of 2.
var bool = ( FLOAT16_SQRT2 === 1.4140625 );
// returns trueExamples
var FLOAT16_SQRT2 = require( '@stdlib/constants-float16-sqrt-two' );
console.log( FLOAT16_SQRT2 );
// => 1.4140625Notice
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.
