aboutsummaryrefslogtreecommitdiff
path: root/test/minmax.tm
diff options
context:
space:
mode:
authorBruce Hill <bruce@bruce-hill.com>2025-11-09 18:42:16 -0500
committerBruce Hill <bruce@bruce-hill.com>2025-11-09 18:42:16 -0500
commit1d461611bac782c272d0e082d5da74b4fe353ae6 (patch)
tree0b1687a3edb507835f9aa3b7666fd590975b73ff /test/minmax.tm
parent78fd9141bb7dfcf817158a7a4d098e0e4b3d515b (diff)
Rename Num -> Float64, Num32 -> Float32
Diffstat (limited to 'test/minmax.tm')
-rw-r--r--test/minmax.tm4
1 files changed, 2 insertions, 2 deletions
diff --git a/test/minmax.tm b/test/minmax.tm
index 038f03e4..3c6d7efd 100644
--- a/test/minmax.tm
+++ b/test/minmax.tm
@@ -1,7 +1,7 @@
struct Foo(x:Int, y:Int)
- func len(f:Foo->Num)
- return Num.sqrt(Num(f.x*f.x + f.y*f.y))!
+ func len(f:Foo->Float64)
+ return Float64.sqrt(Float64(f.x*f.x + f.y*f.y))!
func main()
assert (3 _min_ 5) == 3