Skip to content

Commit

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

public sinh() {
this.current = Math.sinh(this.current);
return this;
}
}

0 comments on commit 597cd08

Please sign in to comment.