Re:How does your programming language handle “minus zero” (-...
by legulere on Friday March 05, 2021 @10:05AM
(#26357571)
One example where floating point does not match the problem field is GIS. Coordinates are bound by the earth's circumference. Fixed point would make much more sense, but neither hardware nor software support is there.
[ Parent
| on HN ]
Re:How does your programming language handle “minus zero” (-...
by lylecheatham on Friday March 05, 2021 @01:02PM
(#26359841)
I mean most GIS software is pretty aware of precision models. Take GEOS for example, it's got a variety of ways to specify the precision in number of decimal places for a geometry. It still uses doubles underneath, but that's to avoid unneeded code complexity.