From 5116220d621ff5dcce8698482d2041650cb258ef Mon Sep 17 00:00:00 2001 From: Doug Currie Date: Fri, 8 Jan 2016 23:51:51 -0500 Subject: [PATCH] Fix more c99isms --- contrib/10.roundtrip/emyg_dtoa.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/contrib/10.roundtrip/emyg_dtoa.c b/contrib/10.roundtrip/emyg_dtoa.c index 1a8abd50..9fbc5e19 100644 --- a/contrib/10.roundtrip/emyg_dtoa.c +++ b/contrib/10.roundtrip/emyg_dtoa.c @@ -51,8 +51,8 @@ typedef struct DiyFp_s { static const int kDiySignificandSize = 64; static const int kDpSignificandSize = 52; -static const int kDpExponentBias = 0x3FF + 52 /*kDpSignificandSize*/; -static const int kDpMinExponent = -kDpExponentBias; +static const int kDpExponentBias = 0x3FF + 52 /* 0x3FF + kDpSignificandSize */; +static const int kDpMinExponent = -(0x3FF + 52) /* -kDpExponentBias */; static const uint64_t kDpExponentMask = UINT64_C2(0x7FF00000, 0x00000000); static const uint64_t kDpSignificandMask = UINT64_C2(0x000FFFFF, 0xFFFFFFFF); static const uint64_t kDpHiddenBit = UINT64_C2(0x00100000, 0x00000000);