From 0e10313d64f54dd587ebbcd5f413bd999333c911 Mon Sep 17 00:00:00 2001 From: Bruce Hill Date: Sun, 24 Nov 2024 16:13:23 -0500 Subject: Switch `NaN` to be identical to the null value --- test/minmax.tm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'test/minmax.tm') diff --git a/test/minmax.tm b/test/minmax.tm index a5dd984e..3d11f8e5 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(f.x*f.x + f.y*f.y) + return Num.sqrt(f.x*f.x + f.y*f.y)! func main(): >> 3 _min_ 5 -- cgit v1.2.3