Skip to content

Commit

Permalink
feat(calculator.ts): add asin method
Browse files Browse the repository at this point in the history
  • Loading branch information
gfmio committed Mar 12, 2019
1 parent e761f0c commit 71360a4
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/Calculator.ts
Original file line number Diff line number Diff line change
Expand Up @@ -91,4 +91,8 @@ export default class Calculator {
this.current = Math.tanh(this.current);
return this;
}

public asin() {
this.current = Math.asin(this.current);
}
}

0 comments on commit 71360a4

Please sign in to comment.