diff --git a/hy/models.py b/hy/models.py
index 3a769e86..fda7789f 100644
--- a/hy/models.py
+++ b/hy/models.py
@@ -179,7 +179,7 @@ if not PY3:  # do not add long on python3
 
 def check_inf_nan_cap(arg, value):
     if isinstance(arg, string_types):
-        if isinf(value) and "Inf" not in arg:
+        if isinf(value) and "i" in arg.lower() and "Inf" not in arg:
             raise ValueError('Inf must be capitalized as "Inf"')
         if isnan(value) and "NaN" not in arg:
             raise ValueError('NaN must be capitalized as "NaN"')

1e1000 should not be a symbol
Hy counts `1e308` as a floating-point number, but `2e308` as a symbol. 
```Python
=> (type 1e308)
type(1e+308)

<class 'float'>
=> (type 2e308)
type(2e308)

Traceback (most recent call last):
  File "c:\users\me\documents\github\hy\hy\importer.py", line 201, in hy_eval
    return eval(ast_compile(expr, "<eval>", "eval"), namespace)
  File "<eval>", line 1, in <module>
NameError: name '2e308' is not defined
```

This is inconsistent. Float literals that are too large should be `inf`, because that's how Python does it.
```Python
>>> 1.7e308
1.7e+308
>>> 1.8e308
inf
```
diff --git a/tests/test_lex.py b/tests/test_lex.py
index bdb412a1..6efeb605 100644
--- a/tests/test_lex.py
+++ b/tests/test_lex.py
@@ -103,6 +103,12 @@ def test_lex_expression_float():
     assert objs == [HyExpression([HySymbol("foo"), HyFloat(1.e7)])]
 
 
+def test_lex_big_float():
+    # https://github.com/hylang/hy/issues/1448
+    assert tokenize("1e900") == [HyFloat(1e900)]
+    assert tokenize("1e900-1e900j") == [HyComplex(1e900, -1e900)]
+
+
 def test_lex_nan_and_inf():
 
     assert isnan(tokenize("NaN")[0])

pip install -e .[dev]
parse_log_pytest
requirements.txt
pytest flake8 tox Pygments Sphinx sphinx_rtd_theme
apt-get update apt-get install -y gcc
3.6
requirements-dev.txt
pytest --no-header -rA --tb=line --color=no -p no:cacheprovider -W ignore::DeprecationWarning
alabaster==0.7.13
appdirs==1.4.4
args==0.1.0
astor==0.8.1
attrs==22.2.0
Babel==2.11.0
certifi==2021.5.30
charset-normalizer==2.0.12
clint==0.5.1
coverage==6.2
distlib==0.3.9
docutils==0.17.1
filelock==3.4.1
flake8==5.0.4
-e git+https://github.com/hylang/hy.git@97987d739c4649d1722d489d3771f558b145a0fb#egg=hy
idna==3.10
imagesize==1.4.1
importlib-metadata==4.2.0
importlib-resources==5.4.0
iniconfig==1.1.1
Jinja2==3.0.3
MarkupSafe==2.0.1
mccabe==0.7.0
packaging==21.3
platformdirs==2.4.0
pluggy==1.0.0
py==1.11.0
pycodestyle==2.9.1
pyflakes==2.5.0
Pygments==2.14.0
pyparsing==3.1.4
pytest==7.0.1
pytz==2025.2
requests==2.27.1
rply==0.7.8
six==1.17.0
snowballstemmer==2.2.0
Sphinx==4.3.2
sphinx-rtd-theme==1.3.0
sphinxcontrib-applehelp==1.0.2
sphinxcontrib-devhelp==1.0.2
sphinxcontrib-htmlhelp==2.0.0
sphinxcontrib-jquery==4.1
sphinxcontrib-jsmath==1.0.1
sphinxcontrib-qthelp==1.0.3
sphinxcontrib-serializinghtml==1.1.5
toml==0.10.2
tomli==1.2.3
tox==3.28.0
typing_extensions==4.1.1
urllib3==1.26.20
virtualenv==20.16.2
zipp==3.6.0

name: hy
channels:
  - defaults
  - https://repo.anaconda.com/pkgs/main
  - https://repo.anaconda.com/pkgs/r
  - conda-forge
dependencies:
  - _libgcc_mutex=0.1=main
  - _openmp_mutex=5.1=1_gnu
  - ca-certificates=2025.2.25=h06a4308_0
  - certifi=2021.5.30=py36h06a4308_0
  - ld_impl_linux-64=2.40=h12ee557_0
  - libffi=3.3=he6710b0_2
  - libgcc-ng=11.2.0=h1234567_1
  - libgomp=11.2.0=h1234567_1
  - libstdcxx-ng=11.2.0=h1234567_1
  - ncurses=6.4=h6a678d5_0
  - openssl=1.1.1w=h7f8727e_0
  - pip=21.2.2=py36h06a4308_0
  - python=3.6.13=h12debd9_1
  - readline=8.2=h5eee18b_0
  - setuptools=58.0.4=py36h06a4308_0
  - sqlite=3.45.3=h5eee18b_0
  - tk=8.6.14=h39e8969_0
  - wheel=0.37.1=pyhd3eb1b0_0
  - xz=5.6.4=h5eee18b_1
  - zlib=1.2.13=h5eee18b_1
  - pip:
      - alabaster==0.7.13
      - appdirs==1.4.4
      - args==0.1.0
      - astor==0.8.1
      - attrs==22.2.0
      - babel==2.11.0
      - charset-normalizer==2.0.12
      - clint==0.5.1
      - coverage==6.2
      - distlib==0.3.9
      - docutils==0.17.1
      - filelock==3.4.1
      - flake8==5.0.4
      - idna==3.10
      - imagesize==1.4.1
      - importlib-metadata==4.2.0
      - importlib-resources==5.4.0
      - iniconfig==1.1.1
      - jinja2==3.0.3
      - markupsafe==2.0.1
      - mccabe==0.7.0
      - packaging==21.3
      - platformdirs==2.4.0
      - pluggy==1.0.0
      - py==1.11.0
      - pycodestyle==2.9.1
      - pyflakes==2.5.0
      - pygments==2.14.0
      - pyparsing==3.1.4
      - pytest==7.0.1
      - pytz==2025.2
      - requests==2.27.1
      - rply==0.7.8
      - six==1.17.0
      - snowballstemmer==2.2.0
      - sphinx==4.3.2
      - sphinx-rtd-theme==1.3.0
      - sphinxcontrib-applehelp==1.0.2
      - sphinxcontrib-devhelp==1.0.2
      - sphinxcontrib-htmlhelp==2.0.0
      - sphinxcontrib-jquery==4.1
      - sphinxcontrib-jsmath==1.0.1
      - sphinxcontrib-qthelp==1.0.3
      - sphinxcontrib-serializinghtml==1.1.5
      - toml==0.10.2
      - tomli==1.2.3
      - tox==3.28.0
      - typing-extensions==4.1.1
      - urllib3==1.26.20
      - virtualenv==20.16.2
      - zipp==3.6.0
prefix: /opt/conda/envs/hy

tests/test_lex.py::test_lex_big_float
tests/test_lex.py::test_lex_exception tests/test_lex.py::test_unbalanced_exception tests/test_lex.py::test_lex_single_quote_err tests/test_lex.py::test_lex_expression_symbols tests/test_lex.py::test_lex_expression_strings tests/test_lex.py::test_lex_expression_integer tests/test_lex.py::test_lex_symbols tests/test_lex.py::test_lex_strings tests/test_lex.py::test_lex_bracket_strings tests/test_lex.py::test_lex_integers tests/test_lex.py::test_lex_fractions tests/test_lex.py::test_lex_expression_float tests/test_lex.py::test_lex_nan_and_inf tests/test_lex.py::test_lex_expression_complex tests/test_lex.py::test_lex_digit_separators tests/test_lex.py::test_lex_bad_attrs tests/test_lex.py::test_lex_line_counting tests/test_lex.py::test_lex_line_counting_multi tests/test_lex.py::test_lex_line_counting_multi_inner tests/test_lex.py::test_dicts tests/test_lex.py::test_sets tests/test_lex.py::test_nospace tests/test_lex.py::test_escapes tests/test_lex.py::test_unicode_escapes tests/test_lex.py::test_complex tests/test_lex.py::test_tag_macro tests/test_lex.py::test_lex_comment_382 tests/test_lex.py::test_lex_mangling_star tests/test_lex.py::test_lex_mangling_hyphen tests/test_lex.py::test_lex_mangling_qmark tests/test_lex.py::test_lex_mangling_bang tests/test_lex.py::test_unmangle tests/test_lex.py::test_simple_cons tests/test_lex.py::test_dotted_list tests/test_lex.py::test_cons_list tests/test_lex.py::test_discard
hy/models.py
hy/models.py