FLOAT32_SQRT2

Square root of 2 as a single-precision floating-point number.

Usage

var FLOAT32_SQRT2 = require( '@stdlib/constants/float32/sqrt-two' );

FLOAT32_SQRT2

Square root of 2 as a single-precision floating-point number.

var bool = ( FLOAT32_SQRT2 === 1.4142135381698608 );
// returns true

Examples

var FLOAT32_SQRT2 = require( '@stdlib/constants/float32/sqrt-two' );

console.log( FLOAT32_SQRT2 );
// => 1.4142135381698608

C APIs

Usage

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

STDLIB_CONSTANT_FLOAT32_SQRT2

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

Did you find this page helpful?