MCPcopy 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

getxMethod · 0.95
popMethod · 0.45
pushMethod · 0.45

Tested by

no test coverage detected