0001-init-cmath-doc-with-a-small-example.patch

module doc - Sandor Szücs, 05/18/2011 01:52 AM

Download (724 Bytes)

View differences:

lib/cmath.rb
1
# This module provides access to mathematical functions for complex
2
# numbers.
3
# 
4
# Example 
5
#   # Square root of a negative number is a complex number.
6
#   CMath.sqrt(-9)  #=> 0+3.0i
7
#
1 8
module CMath
2 9

  
3 10
  include Math
4
-