module
BigMath
v1_9_3_392 -
Show latest stable
Class and method registration
Provides mathematical functions.
Example:
require "bigdecimal" require "bigdecimal/math" include BigMath a = BigDecimal((PI(100)/2).to_s) puts sin(a,100) # -> 0.10000000000000000000......E1
Files
- ext/bigdecimal/bigdecimal.c
- ext/bigdecimal/lib/bigdecimal/math.rb