From 1d461611bac782c272d0e082d5da74b4fe353ae6 Mon Sep 17 00:00:00 2001 From: Bruce Hill Date: Sun, 9 Nov 2025 18:42:16 -0500 Subject: Rename Num -> Float64, Num32 -> Float32 --- src/stdlib/text.h | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'src/stdlib/text.h') diff --git a/src/stdlib/text.h b/src/stdlib/text.h index 821325a9..15630858 100644 --- a/src/stdlib/text.h +++ b/src/stdlib/text.h @@ -7,9 +7,9 @@ #include #include "datatypes.h" +#include "floats.h" // IWYU pragma: export #include "integers.h" // IWYU pragma: export #include "mapmacro.h" -#include "nums.h" // IWYU pragma: export #include "types.h" #include "util.h" @@ -42,8 +42,8 @@ static inline Text_t Text_from_text(Text_t t) { return t; } int16_t: Int16$value_as_text, \ int32_t: Int32$value_as_text, \ int64_t: Int64$value_as_text, \ - double: Num$value_as_text, \ - float: Num32$value_as_text)(x) + double: Float64$value_as_text, \ + float: Float32$value_as_text)(x) Text_t Text$_concat(int n, Text_t items[n]); #define Text$concat(...) Text$_concat(sizeof((Text_t[]){__VA_ARGS__}) / sizeof(Text_t), (Text_t[]){__VA_ARGS__}) -- cgit v1.2.3