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 --- stdlib/integers.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'stdlib/integers.h') diff --git a/stdlib/integers.h b/stdlib/integers.h index 430a3eac..7bda6398 100644 --- a/stdlib/integers.h +++ b/stdlib/integers.h @@ -106,7 +106,7 @@ OptionalInt_t Int$from_str(const char *str); OptionalInt_t Int$parse(Text_t text); Int_t Int$abs(Int_t x); Int_t Int$power(Int_t base, Int_t exponent); -Int_t Int$sqrt(Int_t i); +OptionalInt_t Int$sqrt(Int_t i); #define BIGGEST_SMALL_INT ((1<<29)-1) -- cgit v1.2.3