time-to-botec/squiggle/node_modules/@stdlib/constants/float16
NunoSempere b6addc7f05 feat: add the node modules
Necessary in order to clearly see the squiggle hotwiring.
2022-12-03 12:44:49 +00:00
..
cbrt-eps feat: add the node modules 2022-12-03 12:44:49 +00:00
docs/types feat: add the node modules 2022-12-03 12:44:49 +00:00
eps feat: add the node modules 2022-12-03 12:44:49 +00:00
exponent-bias feat: add the node modules 2022-12-03 12:44:49 +00:00
lib feat: add the node modules 2022-12-03 12:44:49 +00:00
max feat: add the node modules 2022-12-03 12:44:49 +00:00
max-safe-integer feat: add the node modules 2022-12-03 12:44:49 +00:00
min-safe-integer feat: add the node modules 2022-12-03 12:44:49 +00:00
ninf feat: add the node modules 2022-12-03 12:44:49 +00:00
num-bytes feat: add the node modules 2022-12-03 12:44:49 +00:00
pinf feat: add the node modules 2022-12-03 12:44:49 +00:00
precision feat: add the node modules 2022-12-03 12:44:49 +00:00
smallest-normal feat: add the node modules 2022-12-03 12:44:49 +00:00
smallest-subnormal feat: add the node modules 2022-12-03 12:44:49 +00:00
sqrt-eps feat: add the node modules 2022-12-03 12:44:49 +00:00
package.json feat: add the node modules 2022-12-03 12:44:49 +00:00
README.md feat: add the node modules 2022-12-03 12:44:49 +00:00

Constants

Half-precision floating-point mathematical constants.

Usage

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

constants

Half-precision floating-point mathematical constants.

var c = constants;
// returns {...}
  • CBRT_EPS: cube root of half-precision floating-point epsilon.
  • EPS: difference between one and the smallest value greater than one that can be represented as a half-precision floating-point number.
  • EXPONENT_BIAS: the bias of a half-precision floating-point number's exponent.
  • MAX_SAFE_INTEGER: maximum safe half-precision floating-point integer.
  • MAX: maximum half-precision floating-point number.
  • MIN_SAFE_INTEGER: minimum safe half-precision floating-point integer.
  • NINF: half-precision floating-point negative infinity.
  • NUM_BYTES: size (in bytes) of a half-precision floating-point number.
  • PINF: half-precision floating-point positive infinity.
  • PRECISION: effective number of bits in the significand of a half-precision floating-point number.
  • SMALLEST_NORMAL: smallest positive normalized half-precision floating-point number.
  • SMALLEST_SUBNORMAL: smallest positive denormalized half-precision floating-point number.
  • SQRT_EPS: square root of half-precision floating-point epsilon.

Examples

var objectKeys = require( '@stdlib/utils/keys' );
var constants = require( '@stdlib/constants/float16' );

console.log( objectKeys( constants ) );