Skip to content

Commit

Permalink
feat(calculator.ts): add cosh method
Browse files Browse the repository at this point in the history
  • Loading branch information
gfmio committed Mar 12, 2019
1 parent 597cd08 commit c6a9ae9
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 @@ -81,4 +81,9 @@ export default class Calculator {
this.current = Math.sinh(this.current);
return this;
}

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

0 comments on commit c6a9ae9

Please sign in to comment.