/* * call-seq: * fix > other => true or false * * Returns <code>true</code> if the value of <code>fix</code> is * greater than that of <code>other</code>. */ static VALUE fix_gt(x, y) VALUE x, y; { if (FIXNUM_P(y)) { long a = FIX2LONG(x), b = FIX2LONG(y); if (a > b) return Qtrue; return Qfalse; } else { return rb_num_coerce_relop(x, y); } }