From: Kenta Murata <muraken@...>
Date: 2011-05-09T09:20:26+09:00
Subject: [ruby-core:36048] [Ruby 1.9 - Bug #4655] String#to_c does not support scientific notation


Issue #4655 has been updated by Kenta Murata.

Assignee set to tadayoshi funaba
Target version set to 1.9.3


----------------------------------------
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: tadayoshi funaba
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