= private = protected
cos(p1)
Computes the cosine of x (expressed in radians). Returns -1..1.
static VALUE math_cos(VALUE obj, VALUE x) { Need_Float(x); return DBL2NUM(cos(RFLOAT_VALUE(x))); }