• R/O
  • HTTP
  • SSH
  • HTTPS

Commit

Frequently used words (click to add to your profile)

javac++androidlinuxc#windowsobjective-ccocoa誰得qtpythonphprubygameguibathyscaphec計画中(planning stage)翻訳omegatframeworktwitterdomtestvb.netdirectxゲームエンジンbtronarduinopreviewer

mrubyを超漢字で動作させる


Commit MetaInfo

Revisioned6f3a0735c42d9b333939d3cccdb83fd6778771 (tree)
Time2015-11-16 23:36:11
AuthorYukihiro "Matz" Matsumoto <matz@ruby...>
CommiterYukihiro "Matz" Matsumoto

Log Message

Merge pull request #3015 from murasesyuka/fix/fix_lshift_and_fix_rshift_doc

fix comment

Change Summary

Incremental Difference

--- a/src/numeric.c
+++ b/src/numeric.c
@@ -856,7 +856,7 @@ fix_shift_get_width(mrb_state *mrb, mrb_int *width)
856856 /* 15.2.8.3.12 */
857857 /*
858858 * call-seq:
859- * fix << count -> integer
859+ * fix << count -> integer or float
860860 *
861861 * Shifts _fix_ left _count_ positions (right if _count_ is negative).
862862 */
@@ -881,7 +881,7 @@ fix_lshift(mrb_state *mrb, mrb_value x)
881881 /* 15.2.8.3.13 */
882882 /*
883883 * call-seq:
884- * fix >> count -> integer
884+ * fix >> count -> integer or float
885885 *
886886 * Shifts _fix_ right _count_ positions (left if _count_ is negative).
887887 */