🏠mathmathMathGlobals+-Cases+-0msdef add(a, b) return a + b end p add 7, 80msdef sub(a, b) return a - b end p sub 7, 80msdef div(a, b) return a / b end p div 7, 80msdef mul(a, b) return a * b end p mul 7, 80msdef rem(a, b) return a % b end p rem 7, 80msdef inv(a, b = 1.0) return b / a end p inv 7, 80msdef pow(a, b = 8) ret = 1.0 b.times do ret *= a end return ret end p pow 7, 80msdef cone_volume(rad, height) return rad * rad * Math::PI * height / 3.0 end p cone_volume 7, 8