@stdlib/constants-float64-sqrt-phi
v0.2.2
Published
Square root of the golden ratio.
Downloads
124
Readme
SQRT_PHI
Square root of the Golden ratio (φ).
Installation
npm install @stdlib/constants-float64-sqrt-phi
Usage
var SQRT_PHI = require( '@stdlib/constants-float64-sqrt-phi' );
SQRT_PHI
Square root of the golden ratio.
var bool = ( SQRT_PHI === 1.272019649514069 );
// returns true
Examples
var SQRT_PHI = require( '@stdlib/constants-float64-sqrt-phi' );
console.log( SQRT_PHI );
// => 1.272019649514069
C APIs
Usage
#include "stdlib/constants/float64/sqrt_phi.h"
STDLIB_CONSTANT_FLOAT64_SQRT_PHI
Macro for the square root of the golden ratio.
See Also
@stdlib/constants-float64/phi
: golden ratio.
Notice
This package is part of stdlib, a standard library for JavaScript and Node.js, with an emphasis on numerical and scientific computing. The library provides a collection of robust, high performance libraries for mathematics, statistics, streams, utilities, and more.
For more information on the project, filing bug reports and feature requests, and guidance on how to develop stdlib, see the main project repository.
Community
License
See LICENSE.
Copyright
Copyright © 2016-2024. The Stdlib Authors.