The golden ratio can be defined algebraically as
var FLOAT16_PHI = require( '@stdlib/constants/float16/phi' );The golden ratio.
var bool = ( FLOAT16_PHI === 1.6181640625 );
// returns truevar FLOAT16_PHI = require( '@stdlib/constants/float16/phi' );
console.log( FLOAT16_PHI );
// => 1.6181640625