class method
Math.cos
(::Math::double x) -> ::Float
Math.cos(x) → float
math.c
View on GitHub ↗
static VALUE
math_cos(VALUE unused_obj, VALUE x)
{
return DBL2NUM(cos(Get_Double(x)));
}