fix interpretation of numeric constants in scientic notation (fixes #10939)