JSPM

  • Created
  • Published
  • Downloads 1579
  • Score
    100M100P100Q113245F
  • License MIT

C's math functions implemented in TypeScript/JavaScript

Package Exports

  • cmath-js
  • cmath-js/dist/index.js

This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (cmath-js) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.

Readme

cmath-js

Implementations of some of C's math functions in TypeScript/JavaScript.

Floating-point functions

  • copysign
  • fabs
  • frexp
  • hypot
  • ldexp
  • nextafter
  • pow
  • signbit

Integer functions

These accept either a number or a bigint:

  • abs