FLOAT32_SQRT_PHI

Square root of the Golden ratio (φ) as a single-precision floating-point number.

Usage

var FLOAT32_SQRT_PHI = require( '@stdlib/constants/float32/sqrt-phi' );

FLOAT32_SQRT_PHI

Square root of the golden ratio as a single-precision floating-point number.

var bool = ( FLOAT32_SQRT_PHI === 1.272019624710083 );
// returns true

Examples

var FLOAT32_SQRT_PHI = require( '@stdlib/constants/float32/sqrt-phi' );

console.log( FLOAT32_SQRT_PHI );
// => 1.272019624710083

C APIs

Usage

#include "stdlib/constants/float32/sqrt_phi.h"

STDLIB_CONSTANT_FLOAT32_SQRT_PHI

Macro for the square root of the golden ratio as a single-precision floating-point number.

Did you find this page helpful?