Issue #4655 has been updated by Kenta Murata.

Status changed from Open to Closed


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

Author: Tinco Andringa
Status: Closed
Priority: Normal
Assignee: Yukihiro Matsumoto
Category: core
Target version: 1.9.3
ruby -v: -


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