lib/instructions/float/float_abs.rb in nudge-0.2.6 vs lib/instructions/float/float_abs.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 absolute value onto the +:float+ stack +# +# *needs:* 1 +:float+ +# +# *pushes:* 1 +:float+ +# + class FloatAbsInstruction < Instruction def preconditions? needs :float, 1 end def setup