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

- old
+ new

@@ -1,4 +1,12 @@ +# pops the top 2 items of the +:float+ stack; +# pushes a new ValuePoint onto the +:bool+ stack, with its value +true+ if the popped values are identical +# +# *needs:* 2 +:float+ +# +# *pushes:* 1 +:bool+ +# + class FloatEqualQInstruction < Instruction def preconditions? needs :float, 2 end def setup