Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/ActiveState/code
/ arccos
Method
arccos
recipes/Python/59884_RPN_Stack_class/recipe-59884.py:203–205 ·
view source on GitHub ↗
(self)
Source
from the content-addressed store, hash-verified
201
self.pop(); self.push(newx)
202
203
def
arccos(self):
204
newx = math.acos(self.getx())
205
self.pop(); self.push(newx)
206
207
def
arctan(self):
208
newx = math.atan(self.getx())
Callers
nothing calls this directly
Calls
3
getx
Method · 0.95
pop
Method · 0.45
push
Method · 0.45
Tested by
no test coverage detected