Skip to content

Commit 597cd08

Browse files
committed
feat(calculator.ts): add sinh method
1 parent 9566598 commit 597cd08

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

src/Calculator.ts

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -76,4 +76,9 @@ export default class Calculator {
7676
this.current = div(1, this.current);
7777
return this;
7878
}
79+
80+
public sinh() {
81+
this.current = Math.sinh(this.current);
82+
return this;
83+
}
7984
}

0 commit comments

Comments
 (0)