whats the problem? long long is int64_tint64_t the compiler thinks its a "long long" ? How can I bailing-wire together an int64_t? Is it even possible?
How can I bailing-wire together an int64_t? Is it even possible?
Almost makes sense. The dynamic range of the value is small so a float is wasted on it and fixed point is perfect. But 64 bits is way too big and for fixed point you would multiply by a power of two. Like 2^23. Which would provide a range of +255 to -256 with 23 fractional bits. Or resolution of less than an inch worst case.They are looking for latitude/longitude in degrees. Then multiplied by 10^16 and stuffing the result into a signed 64 bit integer.
Almost makes sense. The dynamic range of the value is small so a float is wasted on it and fixed point is perfect. But 64 bits is way too big and for fixed point you would multiply by a power of two. Like 2^23. Which would provide a range of +255 to -256 with 23 fractional bits. Or resolution of less than an inch worst case.