Fast Math

Standard library math implementations which favor speed over correctness.

Usage

var fastmath = require( '@stdlib/fastmath' );

fastmath

Standard library fast math.

var ns = fastmath;
// returns {...}

Notes

  • Implementations may violate strict IEEE semantics.
  • Implementations may assume arguments and results are not NaN.
  • Implementations may assume arguments are neither positive or negative infinity.
  • Implementations may ignore the sign of zero.

Examples

var getKeys = require( 'object-keys' ).shim();
var fastmath = require( '@stdlib/fastmath' );

console.log( getKeys( fastmath ) );