FLOAT32_NINF

Single-precision floating-point negative infinity.

Usage

var FLOAT32_NINF = require( '@stdlib/constants/float32/ninf' );

FLOAT32_NINF

Single-precision floating-point negative infinity.

// FLOAT32_NINF is implicitly promoted to a double-precision floating-point number...
var bool = ( FLOAT32_NINF === -Infinity );
// returns true

Examples

var FLOAT32_NINF = require( '@stdlib/constants/float32/ninf' );

console.log( FLOAT32_NINF );
// => -Infinity

C APIs

Usage

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

STDLIB_CONSTANT_FLOAT32_NINF

Macro for single-precision floating-point negative infinity.

Did you find this page helpful?