From: Yukihiro Matsumoto Date: 2009-08-04T07:32:47+09:00 Subject: [ruby-core:24731] Re: About An Imaginary Number Literal (Translation) Hi, In message "Re: [ruby-core:24730] About An Imaginary Number Literal (Translation)" on Tue, 4 Aug 2009 05:56:27 +0900, ujihisa writes: |In [ruby-dev:38843] 複素数リテラルについて |http://blade.nagaokaut.ac.jp/cgi-bin/scat.rb/ruby/ruby-dev/38843 , |Matz suggested introducing an imaginary number literal to ruby. After |his new patch is applied, we can use the following syntax: | | 2i | 2.0i | |He also showed some issues about: | |* Backward compatibility |* Is i OK? (In python it's j) |* Is Numeric#i needed for imaginarization? |* If it is needed, what's the value of (an imaginary number).i or (a |complex number).i ? Now I am thinking of adding Numeric#i, without adding literals. matz.