summaryrefslogtreecommitdiffhomepage
path: root/src/numeric.c
diff options
context:
space:
mode:
authorYukihiro "Matz" Matsumoto <[email protected]>2015-11-16 23:36:11 +0900
committerYukihiro "Matz" Matsumoto <[email protected]>2015-11-16 23:36:11 +0900
commited6f3a0735c42d9b333939d3cccdb83fd6778771 (patch)
tree5d210f2e3b52034c4825abd4752015b33eeb7d0d /src/numeric.c
parent916630be1a7a7996650b89f25735db582765f1fb (diff)
parentcd1a566002861665f3f00b6668d5a158e694c187 (diff)
downloadmruby-ed6f3a0735c42d9b333939d3cccdb83fd6778771.tar.gz
mruby-ed6f3a0735c42d9b333939d3cccdb83fd6778771.zip
Merge pull request #3015 from murasesyuka/fix/fix_lshift_and_fix_rshift_doc
fix comment
Diffstat (limited to 'src/numeric.c')
-rw-r--r--src/numeric.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/numeric.c b/src/numeric.c
index 5d595f6a9..6cceaeb9e 100644
--- a/src/numeric.c
+++ b/src/numeric.c
@@ -856,7 +856,7 @@ fix_shift_get_width(mrb_state *mrb, mrb_int *width)
/* 15.2.8.3.12 */
/*
* call-seq:
- * fix << count -> integer
+ * fix << count -> integer or float
*
* Shifts _fix_ left _count_ positions (right if _count_ is negative).
*/
@@ -881,7 +881,7 @@ fix_lshift(mrb_state *mrb, mrb_value x)
/* 15.2.8.3.13 */
/*
* call-seq:
- * fix >> count -> integer
+ * fix >> count -> integer or float
*
* Shifts _fix_ right _count_ positions (left if _count_ is negative).
*/