Skip to content
Prev 20004 / 63424 Next

function min does not return correct result if .Machine$integer.max is involved (PR#8731)

schlather at hsu-hh.de writes:
I have a vague recollection that we might have used
.Machine$integer.max to represent "integer infinity" at some point. If
so, then the results make some sense, but we don't seem to have
similar conventions in any other places that I can think of (i.e.
as.integer(Inf) is NA, etc.)