lib/instructions/float/float_cosine.rb in nudge-0.2.6 vs lib/instructions/float/float_cosine.rb in nudge-0.2.7

- old
+ new

@@ -1,4 +1,12 @@ +# pops the top item of the +:float+ stack; +# pushes a ValuePoint with its cosine onto the +:float+ stack +# +# *needs:* 1 +:float+ +# +# *pushes:* 1 +:float+ +# + class FloatCosineInstruction < Instruction def preconditions? needs :float, 1 end def setup