Skip to content
On this page

Maintenance Ruby 3.3 gets fixes, but no new features. Switch to Ruby 4.0 →

module · Ruby 3.3

BigMath

6 instance methods 2 class methods

Provides mathematical functions.

Example:

Example
require "bigdecimal/math"

include BigMath

a = BigDecimal((PI(100)/2).to_s)
puts sin(a,100) # => 0.99999999999999999999......e0

Class methods 2

Instance methods 6