SQRT2

Square root of 2.

Usage

var SQRT2 = require( '@stdlib/constants/float64/sqrt-two' );

SQRT2

Square root of 2.

var bool = ( SQRT2 === 1.4142135623730951 );
// returns true

Examples

var SQRT2 = require( '@stdlib/constants/float64/sqrt-two' );

console.log( SQRT2 );
// => 1.4142135623730951

C APIs

Usage

#include "stdlib/constants/float64/sqrt_two.h"

STDLIB_CONSTANT_FLOAT64_SQRT2

Macro for the square root of 2.

Did you find this page helpful?