Commit Graph

6 Commits

Author SHA1 Message Date
naruse f680230589 Rerefix test introduced by r32307.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@32318 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2011-06-30 03:31:01 +00:00
naruse ae56a2ec03 Refix test introduced by r32307.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@32317 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2011-06-30 03:27:08 +00:00
naruse 5b2300bd6b Fix test introduced by r32307.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@32316 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2011-06-30 03:18:12 +00:00
naruse eaa572e57d * lib/cmath.rb (CMath.log): second argument: b can be nil.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@32307 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2011-06-29 21:25:03 +00:00
mrkn e6bea8978c * lib/cmath.rb (CMath.cbrt): returns the principal value of the cube
root of the argument.  fix #3676
* test/test_cmath.rb (test_cbrt_returns_principal_value_of_cube_root):
  test for the above change.

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@32047 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2011-06-13 05:36:59 +00:00
mrkn 9b0b9ac237 * lib/cmath.rb (CMath.sqrt): use floating-point value. [ruby-core:31672] [Bug #3678]
* test/test_cmath.rb: added for testing lib/cmath.rb.

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@28964 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-08-11 14:30:47 +00:00