math-types/README.md

465 B

Numeric Types

A typescript library that aims to provide performant arithmetic types.

Limitations

Currently numeric-types does not support negative numbers, decimals, or bigints.

Types

Add<A extends number, B extends number>

Resolves to the sum of A and B

Max<A extends number, B extends number>

Resolves to the larger of A and B

Current Roadmap

  • Subtraction
  • Support negative numbers
  • Support decimal numbers
  • Multiplication
  • Division