Add range lint for float literals, fixing #10934