From bd7daa5ac5923692eb145d8f989efde689101d00 Mon Sep 17 00:00:00 2001 From: nobu Date: Sat, 30 Oct 2010 06:39:53 +0000 Subject: [PATCH] * util.c (ruby_strtod): fix indent. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@29644 b2dd03c8-39d4-4d8f-98ff-823fe69b080e --- util.c | 28 ++++++++++++++-------------- 1 file changed, 14 insertions(+), 14 deletions(-) diff --git a/util.c b/util.c index 53a4e9f89e..19602420b5 100644 --- a/util.c +++ b/util.c @@ -2144,20 +2144,20 @@ break2: if (abs(dsign) == 1) s++; else dsign = 1; - nd = 0; - c = *s; - if (c < '0' || '9' < c) goto ret0; - do { - nd *= 10; - nd += c; - nd -= '0'; - c = *++s; - /* Float("0x0."+("0"*267)+"1fp2095") */ - if (abs(nd) > 2095) { - while ('0' <= c && c <= '9') c = *++s; - break; - } - } while ('0' <= c && c <= '9'); + nd = 0; + c = *s; + if (c < '0' || '9' < c) goto ret0; + do { + nd *= 10; + nd += c; + nd -= '0'; + c = *++s; + /* Float("0x0."+("0"*267)+"1fp2095") */ + if (abs(nd) > 2095) { + while ('0' <= c && c <= '9') c = *++s; + break; + } + } while ('0' <= c && c <= '9'); dval(rv) = ldexp(adj, nd * dsign); } else {