mruby/mruby — pull request #1947 by nurse (2014-03-25 17:43:55+00:00)
Title: Use dtoa in mrb flo to str

As #1906, current mruby's float to string logic doesn't output ideal strings.
This patch use dtoa like CRuby and other implementations for double2str logc.

You may worry about increasing the binary size of mruby.
I confirmed it is rather than decreased on my FreeBSD amd64 though source lines are increased by 4000 lines.

% ll build/host/bin/mruby # BEFORE
-rwxr-xr-x 1 naruse users 1952985 3月 26 02:38 build/host/bin/mruby*
% ll build/host/bin/mruby # AFTER
-rwxr-xr-x 1 naruse users 1938695 3月 26 02:40 build/host/bin/mruby*