Skip to content

Commit ebc43b7

Browse files
committed
Initial commit
0 parents  commit ebc43b7

7 files changed

Lines changed: 740 additions & 0 deletions

File tree

‎.vscode/settings.json‎

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
{
2+
"deno.enable": true,
3+
"deno.lint": true,
4+
"deno.unstable": false,
5+
"editor.defaultFormatter": "denoland.vscode-deno"
6+
}

‎README.md‎

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
# tsmath
2+
3+
Math in the TypeScript type system. Use at your own risk.
4+
5+
## License
6+
7+
[Unlicense](./UNLICENSE)

‎UNLICENSE‎

Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,24 @@
1+
This is free and unencumbered software released into the public domain.
2+
3+
Anyone is free to copy, modify, publish, use, compile, sell, or
4+
distribute this software, either in source code form or as a compiled
5+
binary, for any purpose, commercial or non-commercial, and by any
6+
means.
7+
8+
In jurisdictions that recognize copyright laws, the author or authors
9+
of this software dedicate any and all copyright interest in the
10+
software to the public domain. We make this dedication for the benefit
11+
of the public at large and to the detriment of our heirs and
12+
successors. We intend this dedication to be an overt act of
13+
relinquishment in perpetuity of all present and future rights to this
14+
software under copyright law.
15+
16+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
17+
EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
18+
MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.
19+
IN NO EVENT SHALL THE AUTHORS BE LIABLE FOR ANY CLAIM, DAMAGES OR
20+
OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE,
21+
ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR
22+
OTHER DEALINGS IN THE SOFTWARE.
23+
24+
For more information, please refer to <http://unlicense.org/>

‎_maps.ts‎

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
// deno-fmt-ignore-file
2+
// deno-lint-ignore-file
3+
4+
export type DigitProdMap = {'0':{'0':'0';'1':'0';'2':'0';'3':'0';'4':'0';'5':'0';'6':'0';'7':'0';'8':'0';'9':'0'};'1':{'0':'0';'1':'1';'2':'2';'3':'3';'4':'4';'5':'5';'6':'6';'7':'7';'8':'8';'9':'9'};'2':{'0':'0';'1':'2';'2':'4';'3':'6';'4':'8';'5':'10';'6':'12';'7':'14';'8':'16';'9':'18'};'3':{'0':'0';'1':'3';'2':'6';'3':'9';'4':'12';'5':'15';'6':'18';'7':'21';'8':'24';'9':'27'};'4':{'0':'0';'1':'4';'2':'8';'3':'12';'4':'16';'5':'20';'6':'24';'7':'28';'8':'32';'9':'36'};'5':{'0':'0';'1':'5';'2':'10';'3':'15';'4':'20';'5':'25';'6':'30';'7':'35';'8':'40';'9':'45'};'6':{'0':'0';'1':'6';'2':'12';'3':'18';'4':'24';'5':'30';'6':'36';'7':'42';'8':'48';'9':'54'};'7':{'0':'0';'1':'7';'2':'14';'3':'21';'4':'28';'5':'35';'6':'42';'7':'49';'8':'56';'9':'63'};'8':{'0':'0';'1':'8';'2':'16';'3':'24';'4':'32';'5':'40';'6':'48';'7':'56';'8':'64';'9':'72'};'9':{'0':'0';'1':'9';'2':'18';'3':'27';'4':'36';'5':'45';'6':'54';'7':'63';'8':'72';'9':'81'}};
5+
export type DigitDiffMap = {'0':{'0':['0',false];'1':['1',true];'2':['2',true];'3':['3',true];'4':['4',true];'5':['5',true];'6':['6',true];'7':['7',true];'8':['8',true];'9':['9',true]};'1':{'0':['1',false];'1':['0',false];'2':['1',true];'3':['2',true];'4':['3',true];'5':['4',true];'6':['5',true];'7':['6',true];'8':['7',true];'9':['8',true]};'2':{'0':['2',false];'1':['1',false];'2':['0',false];'3':['1',true];'4':['2',true];'5':['3',true];'6':['4',true];'7':['5',true];'8':['6',true];'9':['7',true]};'3':{'0':['3',false];'1':['2',false];'2':['1',false];'3':['0',false];'4':['1',true];'5':['2',true];'6':['3',true];'7':['4',true];'8':['5',true];'9':['6',true]};'4':{'0':['4',false];'1':['3',false];'2':['2',false];'3':['1',false];'4':['0',false];'5':['1',true];'6':['2',true];'7':['3',true];'8':['4',true];'9':['5',true]};'5':{'0':['5',false];'1':['4',false];'2':['3',false];'3':['2',false];'4':['1',false];'5':['0',false];'6':['1',true];'7':['2',true];'8':['3',true];'9':['4',true]};'6':{'0':['6',false];'1':['5',false];'2':['4',false];'3':['3',false];'4':['2',false];'5':['1',false];'6':['0',false];'7':['1',true];'8':['2',true];'9':['3',true]};'7':{'0':['7',false];'1':['6',false];'2':['5',false];'3':['4',false];'4':['3',false];'5':['2',false];'6':['1',false];'7':['0',false];'8':['1',true];'9':['2',true]};'8':{'0':['8',false];'1':['7',false];'2':['6',false];'3':['5',false];'4':['4',false];'5':['3',false];'6':['2',false];'7':['1',false];'8':['0',false];'9':['1',true]};'9':{'0':['9',false];'1':['8',false];'2':['7',false];'3':['6',false];'4':['5',false];'5':['4',false];'6':['3',false];'7':['2',false];'8':['1',false];'9':['0',false]}};
6+
export type DigitSumMap = {'0':{'0':'0';'1':'1';'2':'2';'3':'3';'4':'4';'5':'5';'6':'6';'7':'7';'8':'8';'9':'9'};'1':{'0':'1';'1':'2';'2':'3';'3':'4';'4':'5';'5':'6';'6':'7';'7':'8';'8':'9';'9':'10'};'2':{'0':'2';'1':'3';'2':'4';'3':'5';'4':'6';'5':'7';'6':'8';'7':'9';'8':'10';'9':'11'};'3':{'0':'3';'1':'4';'2':'5';'3':'6';'4':'7';'5':'8';'6':'9';'7':'10';'8':'11';'9':'12'};'4':{'0':'4';'1':'5';'2':'6';'3':'7';'4':'8';'5':'9';'6':'10';'7':'11';'8':'12';'9':'13'};'5':{'0':'5';'1':'6';'2':'7';'3':'8';'4':'9';'5':'10';'6':'11';'7':'12';'8':'13';'9':'14'};'6':{'0':'6';'1':'7';'2':'8';'3':'9';'4':'10';'5':'11';'6':'12';'7':'13';'8':'14';'9':'15'};'7':{'0':'7';'1':'8';'2':'9';'3':'10';'4':'11';'5':'12';'6':'13';'7':'14';'8':'15';'9':'16'};'8':{'0':'8';'1':'9';'2':'10';'3':'11';'4':'12';'5':'13';'6':'14';'7':'15';'8':'16';'9':'17'};'9':{'0':'9';'1':'10';'2':'11';'3':'12';'4':'13';'5':'14';'6':'15';'7':'16';'8':'17';'9':'18'}};
7+
export type TenComplementMap = {'0': '0';'1':'9';'2':'8';'3':'7';'4':'6';'5':'5';'6':'4';'7':'3';'8':'2';'9':'1';'10':'0'};

0 commit comments

Comments
 (0)