On Thu, 5 Nov 2026 16:16:57 +0000, Roderick wrote:
> /usr/opt/Emacs-31.1/emacs-31.1/src/fileio.c:3960:31: warning: implicit
> conversion from 'off_t' (aka 'long long') to 'double' changes value
> from
> 9223372036854775807 to 9223372036854775808
> [-Wimplicit-const-int-float-conversion]
> 3960 | if (0 <= v && v < 1.0 + TYPE_MAXIMUM (off_t))
> | ~ ^~~~~~~~~~~~~~~~~~~~
> [etc]
One the one hand, you could argue that this kind of arithmetic trickery
is sailing a bit close to the wind.
But on the other hand, once you hit that precision limit, the addition
of 1.0 doesn’t make any difference anyway ...