mirror of
https://github.com/mapbox/tippecanoe.git
synced 2025-04-15 14:46:39 +00:00
Add namespace; fix warning
This commit is contained in:
parent
18b2a2c39c
commit
5f09ccae88
@ -9,12 +9,14 @@
|
||||
#include <stdint.h>
|
||||
#endif
|
||||
|
||||
namespace milo {
|
||||
|
||||
#define UINT64_C2(h, l) ((static_cast<uint64_t>(h) << 32) | static_cast<uint64_t>(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);
|
||||
}
|
||||
}
|
||||
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user