Skip to content

Latest commit

 

History

History
136 lines (76 loc) · 2.73 KB

File metadata and controls

136 lines (76 loc) · 2.73 KB

FLOAT16_SQRT_PHI

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

Usage

var FLOAT16_SQRT_PHI = require( '@stdlib/constants/float16/sqrt-phi' );

FLOAT16_SQRT_PHI

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

var bool = ( FLOAT16_SQRT_PHI === 1.2724609375 );
// returns true

Examples

var FLOAT16_SQRT_PHI = require( '@stdlib/constants/float16/sqrt-phi' );

console.log( FLOAT16_SQRT_PHI );
// => 1.2724609375

C APIs

Usage

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

STDLIB_CONSTANT_FLOAT16_SQRT_PHI

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