Fixes Issue 9357 - Better diagnostic on float literals.