Golden Ratio (φ)

Golden ratio.

The golden ratio can be defined algebraically as

phi equals StartFraction 1 plus StartRoot 5 EndRoot Over 2 EndFraction

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
Did you find this page helpful?