MCPcopy 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.pyFile · 0.80
tan_allMethod · 0.80

Calls 3

getxMethod · 0.95
popMethod · 0.45
pushMethod · 0.45

Tested by

no test coverage detected