1.9 KiB
1.9 KiB
Golden Ratio (φ)
The golden ratio can be defined algebraically as
Usage
var PHI = require( '@stdlib/constants/float64/phi' );
PHI
The golden ratio.
var bool = ( PHI === 1.618033988749895 );
// returns true
Examples
var PHI = require( '@stdlib/constants/float64/phi' );
console.log( PHI );
// => 1.618033988749895