Skip to content

Commit 71360a4

Browse files
committed
feat(calculator.ts): add asin method
1 parent e761f0c commit 71360a4

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

src/Calculator.ts

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -91,4 +91,8 @@ export default class Calculator {
9191
this.current = Math.tanh(this.current);
9292
return this;
9393
}
94+
95+
public asin() {
96+
this.current = Math.asin(this.current);
97+
}
9498
}

0 commit comments

Comments
 (0)