Several float to int potential rounding errors/inconsistencies

Linus Torvalds torvalds at linux-foundation.org
Tue Mar 7 09:43:06 PST 2017


On Tue, Mar 7, 2017 at 9:20 AM, Lubomir I. Ivanov <neolit123 at gmail.com> wrote:
>
> lrint() seems to build for me with mingw 4.9.2.

.. in fact, I notice that we had a couple of places in the GPS
coordinates code that already used 'lrint()', so it must work.

The uemis code has a few places that use 'round()' instead of rint() -
those should probably be converted to 'lrint()' as well.

               Linus


More information about the subsurface mailing list