diff options
author | gogotanaka <gogotanaka@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2015-03-15 11:49:30 +0000 |
---|---|---|
committer | gogotanaka <gogotanaka@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2015-03-15 11:49:30 +0000 |
commit | ef8537bc9e0ec9cc4e711e17155e2ade272dfa1f (patch) | |
tree | 6ee86b4aa7ab9cb276c83f63046ae6891ef6545a /math.c | |
parent | 573772ab5b143eae7130c2dd3bc9f6f221d0c742 (diff) |
* math.c (math_cbrt): [DOC] Fix domain and codomain.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@49973 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'math.c')
-rw-r--r-- | math.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -658,9 +658,9 @@ math_sqrt(VALUE obj, VALUE x) * * Returns the cube root of +x+. * - * Domain: [0, INFINITY) + * Domain: (-INFINITY, INFINITY) * - * Codomain:[0, INFINITY) + * Codomain: (-INFINITY, INFINITY) * * -9.upto(9) {|x| * p [x, Math.cbrt(x), Math.cbrt(x)**3] |