Compare commits
No commits in common. "5a93eb97b3dee07473c9dc9838abf07054cd217b" and "cccf9c18938647c3f35fb820a209dc86f6a332d0" have entirely different histories.
5a93eb97b3
...
cccf9c1893
|
|
@ -1,22 +1,20 @@
|
|||
# Math Types
|
||||
# Numeric Types
|
||||
|
||||
A typescript library that aims to provide performant arithmetic types.
|
||||
|
||||
# Limitations
|
||||
|
||||
Currently math-types does not support negative numbers, decimals, or bigints.
|
||||
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
|
||||
The corresponding function `add` uses this type
|
||||
|
||||
### Max<A extends number, B extends number>
|
||||
|
||||
Resolves to the larger of A and B
|
||||
The corresponding function `max` uses this type
|
||||
|
||||
# Current Roadmap
|
||||
|
||||
|
|
|
|||
3
index.ts
3
index.ts
|
|
@ -1,3 +0,0 @@
|
|||
export * from './src/Addition'
|
||||
export * from './src/Max'
|
||||
export * from './src/Digits'
|
||||
|
|
@ -1,6 +1,6 @@
|
|||
{
|
||||
"name": "math-types",
|
||||
"version": "0.0.2",
|
||||
"name": "numeric-types",
|
||||
"version": "0.0.1",
|
||||
"description": "",
|
||||
"main": "index.js",
|
||||
"scripts": {
|
||||
|
|
@ -11,5 +11,5 @@
|
|||
"dependencies": {
|
||||
"typescript": "^5.3.3"
|
||||
},
|
||||
"keywords": ["typescript", "math", "add", "max"]
|
||||
"keywords": ["typescript", "math", "numeric", "add", "max"]
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in New Issue