summaryrefslogtreecommitdiff
path: root/zp/source
diff options
context:
space:
mode:
Diffstat (limited to 'zp/source')
-rw-r--r--zp/source/any/mth/isnan.cc12
1 files changed, 12 insertions, 0 deletions
diff --git a/zp/source/any/mth/isnan.cc b/zp/source/any/mth/isnan.cc
new file mode 100644
index 0000000..0efa156
--- /dev/null
+++ b/zp/source/any/mth/isnan.cc
@@ -0,0 +1,12 @@
+/*
+ Copyright 2022-2023 Gabriel Jensen.
+ This Source Code Form is subject to the terms of the Mozilla Public License, v. 2.0.
+ If a copy of the MPL was not distributed with this file, You can obtain one at <https://mozilla.org/MPL/2.0>.
+*/
+
+#include <zp/mth.h>
+
+extern "C" {
+ zp_nothw bool zp_isnanf02(zp_f02 const val) {return val != val;}
+ zp_nothw bool zp_isnanf04(zp_f04 const val) {return val != val;}
+}