Bug #4727 » 0001-init-cmath-doc-with-a-small-example.patch
lib/cmath.rb | ||
---|---|---|
# This module provides access to mathematical functions for complex
|
||
# numbers.
|
||
#
|
||
# Example
|
||
# # Square root of a negative number is a complex number.
|
||
# CMath.sqrt(-9) #=> 0+3.0i
|
||
#
|
||
module CMath
|
||
include Math
|