aboutsummaryrefslogtreecommitdiff
path: root/test/reals.tm
diff options
context:
space:
mode:
authorBruce Hill <bruce@bruce-hill.com>2026-01-12 02:42:13 -0500
committerBruce Hill <bruce@bruce-hill.com>2026-01-12 02:42:13 -0500
commit43b3ee4f0e8c385bfaac61d1607e0fdbdd37298e (patch)
tree3e85b066c2f48ac83248954444f1d497b8baf70f /test/reals.tm
parente8b87d0167877bb1b0828c6421a592e86f4de844 (diff)
Overhaul of how parsing and compiling works for reals.
Diffstat (limited to 'test/reals.tm')
-rw-r--r--test/reals.tm3
1 files changed, 3 insertions, 0 deletions
diff --git a/test/reals.tm b/test/reals.tm
index 34a0e33d..ede206cf 100644
--- a/test/reals.tm
+++ b/test/reals.tm
@@ -126,6 +126,9 @@ func main()
# Large integers
big := (99999999999999999999999999999999.)
assert big + 1. == (100000000000000000000000000000000.)
+
+ # >> bigger := 1e999999999999999999999999999999999999999999
+ # assert bigger + bigger == 2.*bigger
# Mixed operations preserve exactness
result := 1. / 3. + 2. / 3.