From 5f09ccae88685eae1c541af86aa84dc3ddbbc4f7 Mon Sep 17 00:00:00 2001 From: Eric Fischer Date: Tue, 29 Aug 2017 13:31:59 -0700 Subject: [PATCH] Add namespace; fix warning --- milo/dtoa_milo.h | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/milo/dtoa_milo.h b/milo/dtoa_milo.h index e65bbaa..d65d107 100644 --- a/milo/dtoa_milo.h +++ b/milo/dtoa_milo.h @@ -9,12 +9,14 @@ #include #endif +namespace milo { + #define UINT64_C2(h, l) ((static_cast(h) << 32) | static_cast(l)) struct DiyFp { DiyFp() {} - DiyFp(uint64_t f, int e) : f(f), e(e) {} + DiyFp(uint64_t ff, int ee) : f(ff), e(ee) {} DiyFp(double d) { union { @@ -399,3 +401,5 @@ inline void dtoa_milo(double value, char* buffer) { Prettify(buffer, length, K); } } + +}