diff options
author | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2008-08-12 07:06:33 +0000 |
---|---|---|
committer | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2008-08-12 07:06:33 +0000 |
commit | 828b416a784c01b423b0edf712b85301ed166766 (patch) | |
tree | 98ee6200fe09096a110afdaf5f9db3ab30616dfd /sprintf.c | |
parent | 405266031cd9eef050cd80e5d4eeb2c19a8dd36f (diff) | |
download | ruby-828b416a784c01b423b0edf712b85301ed166766.tar.gz ruby-828b416a784c01b423b0edf712b85301ed166766.tar.xz ruby-828b416a784c01b423b0edf712b85301ed166766.zip |
* sprintf.c, util.c (quorem, nrv_alloc, dtoa): enabled floating point
support.
git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@18522 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'sprintf.c')
-rw-r--r-- | sprintf.c | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -1034,6 +1034,8 @@ fmt_setup(char *buf, int c, int flags, int width, int prec) #endif #undef vsnprintf #undef snprintf +#define FLOATING_POINT 1 +#define BSD__dtoa dtoa #include "missing/vsnprintf.c" static int |