From a4b8ef38b1d7a26b4e6bfa966f021a237bf16ce1 Mon Sep 17 00:00:00 2001 From: Bruce Hill Date: Sat, 23 Aug 2025 18:20:43 -0400 Subject: Lots of cleanups --- src/stdlib/nums.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/stdlib/nums.h') diff --git a/src/stdlib/nums.h b/src/stdlib/nums.h index fe76d1c3..6e6e1431 100644 --- a/src/stdlib/nums.h +++ b/src/stdlib/nums.h @@ -2,12 +2,10 @@ // Type infos and methods for Nums (floating point) -#include #include #include #include "datatypes.h" -#include "integers.h" #include "stdlib.h" #include "types.h" #include "util.h" @@ -28,6 +26,7 @@ double Num$mod1(double num, double modulus); CONSTFUNC bool Num$isinf(double n); CONSTFUNC bool Num$finite(double n); CONSTFUNC bool Num$isnan(double n); +bool Num$is_none(const void *n, const TypeInfo_t *info); double Num$nan(Text_t tag); CONSTFUNC double Num$mix(double amount, double x, double y); OptionalNum_t Num$parse(Text_t text, Text_t *remainder); @@ -82,6 +81,7 @@ float Num32$mod1(float num, float modulus); CONSTFUNC bool Num32$isinf(float n); CONSTFUNC bool Num32$finite(float n); CONSTFUNC bool Num32$isnan(float n); +CONSTFUNC bool Num32$is_none(const void *n, const TypeInfo_t *info); CONSTFUNC float Num32$mix(float amount, float x, float y); OptionalNum32_t Num32$parse(Text_t text, Text_t *remainder); float Num32$nan(Text_t tag); -- cgit v1.2.3