summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authormatz <matz@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>1998-03-17 10:12:47 +0000
committermatz <matz@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>1998-03-17 10:12:47 +0000
commit15281f2e23d9a947626af5b64659520595bfd783 (patch)
tree96e110720e73c47d063984a320dae337473ec6a3
parent4c3d81d323f2876d5528fc9601cff55c88c6f566 (diff)
sqrt was missing
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/v1_1r@127 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-rw-r--r--math.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/math.c b/math.c
index e531e88ffe..f03a009847 100644
--- a/math.c
+++ b/math.c
@@ -139,6 +139,7 @@ Init_Math()
rb_define_module_function(mMath, "exp", math_exp, 1);
rb_define_module_function(mMath, "log", math_log, 1);
rb_define_module_function(mMath, "log10", math_log10, 1);
+ rb_define_module_function(mMath, "sqrt", math_sqrt, 1);
rb_define_module_function(mMath, "frexp", math_frexp, 1);
rb_define_module_function(mMath, "ldexp", math_ldexp, 2);