FLOAT32_PINF

Single-precision floating-point positive infinity.

Usage

var FLOAT32_PINF = require( '@stdlib/constants/float32/pinf' );

FLOAT32_PINF

Single-precision floating-point positive infinity.

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

Examples

var FLOAT32_PINF = require( '@stdlib/constants/float32/pinf' );

console.log( FLOAT32_PINF );
// => Infinity

C APIs

Usage

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

STDLIB_CONSTANT_FLOAT32_PINF

Macro for the single-precision floating-point positive infinity.

Did you find this page helpful?