FLOAT32_SQRT_HALF

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

Usage

var FLOAT32_SQRT_HALF = require( '@stdlib/constants/float32/sqrt-half' );

FLOAT32_SQRT_HALF

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

var bool = ( FLOAT32_SQRT_HALF === 0.7071067690849304 );
// returns true

Examples

var FLOAT32_SQRT_HALF = require( '@stdlib/constants/float32/sqrt-half' );

console.log( FLOAT32_SQRT_HALF );
// => 0.7071067690849304

C APIs

Usage

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

STDLIB_CONSTANT_FLOAT64_SQRT_HALF

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

Did you find this page helpful?