MCPcopy Create free account
hub / github.com/ActiveState/code / sin

Method sin

recipes/Python/59884_RPN_Stack_class/recipe-59884.py:187–189  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

185 self.pop(); self.push(newx)
186
187 def sin(self):
188 newx = math.sin(self.getx())
189 self.pop(); self.push(newx)
190
191 def cos(self):
192 newx = math.cos(self.getx())

Callers 15

$Function · 0.80
Triangle_Tooth_GearFunction · 0.80
recipe-578390.pyFile · 0.80
draw_fractalFunction · 0.80
pvonFunction · 0.80
pbisFunction · 0.80
DurandKernerFunction · 0.80
recipe-580610.pyFile · 0.80
recipe-578180.pyFile · 0.80
recipe-580649.pyFile · 0.80
recipe-578198.pyFile · 0.80
getHRFunction · 0.80

Calls 3

getxMethod · 0.95
popMethod · 0.45
pushMethod · 0.45

Tested by

no test coverage detected