Maintenance Ruby 3.4 gets fixes, but no new features. Switch to Ruby 4.0 →
class method
Math.sin
(::Math::double x) -> ::Float
Math.sin(x) → float
math.c
View on GitHub ↗
static VALUE
math_sin(VALUE unused_obj, VALUE x)
{
return DBL2NUM(sin(Get_Double(x)));
}