Hacker News
new
|
past
|
comments
|
ask
|
show
|
jobs
|
submit
login
aappleby
on Aug 27, 2023
|
parent
|
context
|
favorite
| on:
111,111.1 meters is reliably 1 degree of latitude
And a 32-bit integer can represent latitude or longitude to an accuracy of around 1 centimeter :D.
OscarCunningham
on Aug 27, 2023
[–]
Call that a long long.
dylan604
on Aug 28, 2023
|
parent
|
next
[–]
That’s up there with buffalo buffalo buffalo
isaacremuant
on Aug 28, 2023
|
parent
|
prev
|
next
[–]
If you are serious, 32 bit is a more specific term, therefore better.
ronsor
on Aug 28, 2023
|
root
|
parent
|
next
[–]
Can't be serious, because
long long
is 64 bits on most platforms.
OscarCunningham
on Aug 29, 2023
|
root
|
parent
|
next
[–]
Right, a 64 bit longitude would be a long long long.
downvotetruth
on Aug 29, 2023
|
root
|
parent
|
next
[–]
‘long long long’ is to long for GCC, but not for the Beatles who may be made to sing it a long long i; // = todo time
teaearlgraycold
on Aug 27, 2023
|
parent
|
prev
[–]
long lon
linkjuice4all
on Aug 28, 2023
|
root
|
parent
[–]
At my last job we used lon long
Guidelines
|
FAQ
|
Lists
|
API
|
Security
|
Legal
|
Apply to YC
|
Contact
Search: