Skip to content

Commit

Permalink
Add min
Browse files Browse the repository at this point in the history
Add min
  • Loading branch information
panayot-cankov authored Jul 29, 2021
1 parent 2feb3f8 commit 3786574
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 2 deletions.
2 changes: 1 addition & 1 deletion atan.ts
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
export function atan(x: number) {
export Math.atan(x);
return Math.atan(x);
}
3 changes: 3 additions & 0 deletions min.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
export function min(x: number, y: number) {
return Math.min(x, y);
}
2 changes: 1 addition & 1 deletion subtract.ts
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
export function subtract(x: number, y: nunmber) {
export function subtract(x: number, y: number) {
return x - y;
}

0 comments on commit 3786574

Please sign in to comment.