Add range lint for float literals

Issue #10934