diff options
| author | Bruce Hill <bruce@bruce-hill.com> | 2025-11-09 18:42:16 -0500 |
|---|---|---|
| committer | Bruce Hill <bruce@bruce-hill.com> | 2025-11-09 18:42:16 -0500 |
| commit | 1d461611bac782c272d0e082d5da74b4fe353ae6 (patch) | |
| tree | 0b1687a3edb507835f9aa3b7666fd590975b73ff /test/minmax.tm | |
| parent | 78fd9141bb7dfcf817158a7a4d098e0e4b3d515b (diff) | |
Rename Num -> Float64, Num32 -> Float32
Diffstat (limited to 'test/minmax.tm')
| -rw-r--r-- | test/minmax.tm | 4 |
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 |
