/* * call-seq: * Math.tan(x) => float * * Returns the tangent of <i>x</i> (expressed in radians). */ static VALUE math_tan(obj, x) VALUE obj, x; { Need_Float(x); return rb_float_new(tan(RFLOAT(x)->value)); }