aboutsummaryrefslogtreecommitdiff
path: root/base
diff options
context:
space:
mode:
authorgingerBill <gingerBill@users.noreply.github.com>2025-10-09 10:06:39 +0100
committergingerBill <gingerBill@users.noreply.github.com>2025-10-09 10:06:39 +0100
commit0b2c0f785cf21c6f8e8bc9d90f23201a7ae71f47 (patch)
tree0bda78b0422107076e5e4ede067e5fe580a7d567 /base
parent7870e6d68b400cb40dca7d7ac8843bb731ea666a (diff)
Add `type_is_nearly_simple_compare` to `intrinsics.odin`
Diffstat (limited to 'base')
-rw-r--r--base/intrinsics/intrinsics.odin1
1 files changed, 1 insertions, 0 deletions
diff --git a/base/intrinsics/intrinsics.odin b/base/intrinsics/intrinsics.odin
index d2af85619..805d78594 100644
--- a/base/intrinsics/intrinsics.odin
+++ b/base/intrinsics/intrinsics.odin
@@ -157,6 +157,7 @@ type_is_indexable :: proc($T: typeid) -> bool ---
type_is_sliceable :: proc($T: typeid) -> bool ---
type_is_comparable :: proc($T: typeid) -> bool ---
type_is_simple_compare :: proc($T: typeid) -> bool --- // easily compared using memcmp (== and !=)
+type_is_nearly_simple_compare :: proc($T: typeid) -> bool --- // easily compared using memcmp (including floats)
type_is_dereferenceable :: proc($T: typeid) -> bool ---
type_is_valid_map_key :: proc($T: typeid) -> bool ---
type_is_valid_matrix_elements :: proc($T: typeid) -> bool ---