aboutsummaryrefslogtreecommitdiff
path: root/test/nums.tm
diff options
context:
space:
mode:
authorBruce Hill <bruce@bruce-hill.com>2024-11-05 15:18:32 -0500
committerBruce Hill <bruce@bruce-hill.com>2024-11-05 15:18:32 -0500
commitb8d7eabc023bf9db0150049d8e909086f6ad91bc (patch)
tree5b678c7949638b3f07095affc04611f0422ef8c7 /test/nums.tm
parent2fa26e6af3ec1599396d9260ef44b0d035b1f686 (diff)
Deprecate bit-width integer/num literals in favor of using type
constructors
Diffstat (limited to 'test/nums.tm')
-rw-r--r--test/nums.tm4
1 files changed, 2 insertions, 2 deletions
diff --git a/test/nums.tm b/test/nums.tm
index 32c55f3b..98bcd9cd 100644
--- a/test/nums.tm
+++ b/test/nums.tm
@@ -41,8 +41,8 @@ func main():
>> Num.INF:near(-Num.INF)
= no
- >> Num32.sqrt(16f32)
- = 4_f32
+ >> Num32.sqrt(16)
+ = Num32(4)
>> 0.25:mix(10, 20)
= 12.5