Skip to content

Latest commit

 

History

History

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 
 
 
 
 
 
 

README.md

FLOAT16_PHI

Golden ratio.

The golden ratio can be defined algebraically as

$$\phi = \frac{1 + \sqrt{5}}{2}$$

Usage

var FLOAT16_PHI = require( '@stdlib/constants/float16/phi' );

FLOAT16_PHI

The golden ratio.

var bool = ( FLOAT16_PHI === 1.6181640625 );
// returns true

Examples

var FLOAT16_PHI = require( '@stdlib/constants/float16/phi' );

console.log( FLOAT16_PHI );
// => 1.6181640625