Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/ActiveState/code
/ tan
Method
tan
recipes/Python/59884_RPN_Stack_class/recipe-59884.py:195–197 ·
view source on GitHub ↗
(self)
Source
from the content-addressed store, hash-verified
193
self.pop(); self.push(newx)
194
195
def
tan(self):
196
newx = math.tan(self.getx())
197
self.pop(); self.push(newx)
198
199
def
arcsin(self):
200
newx = math.asin(self.getx())
Callers
2
recipe-580610.py
File · 0.80
tan_all
Method · 0.80
Calls
3
getx
Method · 0.95
pop
Method · 0.45
push
Method · 0.45
Tested by
no test coverage detected