aboutsummaryrefslogtreecommitdiff
path: root/src/stdlib/nums.h
diff options
context:
space:
mode:
authorBruce Hill <bruce@bruce-hill.com>2025-08-23 18:20:43 -0400
committerBruce Hill <bruce@bruce-hill.com>2025-08-23 18:20:43 -0400
commita4b8ef38b1d7a26b4e6bfa966f021a237bf16ce1 (patch)
treea4137025b4096749341513f44c12d381ceb636bf /src/stdlib/nums.h
parentecf08ab61fe49101b6c769badf362d21d8699df4 (diff)
Lots of cleanups
Diffstat (limited to 'src/stdlib/nums.h')
-rw-r--r--src/stdlib/nums.h4
1 files changed, 2 insertions, 2 deletions
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 <math.h>
#include <stdbool.h>
#include <stdint.h>
#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);