2013-10-01ãã1ã¶æéã®è¨äºä¸è¦§
Ruby2.1ã§ããªãã©ã«ã®è¡¨è¨ãæ¡å¼µããã¦ãèæ°ãæçæ°ããã®ã¾ã¾æ¸ããããã«ãªã£ã¦ããã irb(main):001:0> 1/3r * 9 => (3/1) irb(main):002:0> (2+3i)*1i => (-3+2i) å¾æ¥ã¯ãRational(1,3)ã¨ããComplex(2,3)ã®ããã«æ¸ãå¿ è¦ããã£ããè¤ç´ æ°ã 2+3i â¦