Skip to content

Latest commit

 

History

History
 
 

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 
 
 
 
 
 
 

README.md

Positive Infinity

Half-precision floating-point positive infinity.

Usage

var FLOAT16_PINF = require( '@stdlib/constants/float16/pinf' );

FLOAT16_PINF

Half-precision floating-point positive infinity.

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

Examples

var FLOAT16_PINF = require( '@stdlib/constants/float16/pinf' );

console.log( FLOAT16_PINF );
// => +Infinity

See Also