Note: this is a top-posted essay much more about floating-point
philosophy than about details. Details follow from the philosophy,
and if philosophies don't match the desired details will never match
either.
>From that fundamental "take floats exactly at face value" view, what
.is_integer() should do for floats is utterly obvious:
writing at the time.