@stdlib/constants-float16-phi
v0.1.1
Published
Half-precision (float16) approximation of the golden ratio (φ).
Downloads
170
Readme
FLOAT16_PHI
The golden ratio can be defined algebraically as
Installation
npm install @stdlib/constants-float16-phiUsage
var FLOAT16_PHI = require( '@stdlib/constants-float16-phi' );FLOAT16_PHI
The golden ratio.
var bool = ( FLOAT16_PHI === 1.6181640625 );
// returns trueExamples
var FLOAT16_PHI = require( '@stdlib/constants-float16-phi' );
console.log( FLOAT16_PHI );
// => 1.6181640625Notice
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.
