Issue #4655 has been updated by Kenta Murata.

Assignee changed from tadayoshi funaba to Yukihiro Matsumoto

Sorry, I misunderstood that this issue is about Complex, so I assigned this to tadayoshi.
But, correctly, this is about String.
I assign this to matz again.

----------------------------------------
Bug #4655: String#to_c does not support scientific notation
http://redmine.ruby-lang.org/issues/4655

Author: Tinco Andringa
Status: Open
Priority: Normal
Assignee: Yukihiro Matsumoto
Category: core
Target version: 1.9.3
ruby -v: ruby 1.9.3dev (2011-05-05 trunk 31435) [x86_64-darwin10.5.0]


Specs have been added for this but I did not find an issue for it so I report it here.

Example:

assert_equals('2e3+2e4i'.to_c, Complex(2e3, 2e4))


-- 
http://redmine.ruby-lang.org