lean4-htt/tests/elab/decimals.lean
Garmelon 08eb78a5b2
chore: switch to new test/bench suite (#12590)
This PR sets up the new integrated test/bench suite. It then migrates
all benchmarks and some related tests to the new suite. There's also
some documentation and some linting.

For now, a lot of the old tests are left alone so this PR doesn't become
even larger than it already is. Eventually, all tests should be migrated
to the new suite though so there isn't a confusing mix of two systems.
2026-02-25 13:51:53 +00:00

31 lines
421 B
Text

#check 1.2
#check 1.2 + 2.3
#check 1.0
#eval 1.2 + 2.3
#check 1.
#check 3.1416
theorem ex : 31416e-4 = 3.1416 :=
rfl
#eval 3.4e-100 * 1e98
#eval 12.3e90 * 1E-90
#eval 3.00e-100 * 1e100
#eval 3.00e-100 * 1.e100
#eval 3.00e-100 * 1.0e100
#eval 1e10
#eval 1e50
#eval 1e80
#eval 1e100
#eval 1e200
#eval 1e300
#eval 1e400
#eval 1 / 1e-1
#eval 1 / 1e-2
#eval 1 / 1e-10
#eval 1 / 1e-100
#eval 1 / 1e-200
#eval 1 / 1e-400