aboutsummaryrefslogtreecommitdiffhomepage
path: root/include
diff options
context:
space:
mode:
authorReinUsesLisp <[email protected]>2019-09-09 16:46:36 -0300
committerReinUsesLisp <[email protected]>2019-09-09 16:46:36 -0300
commitae7c664016471c08ba8fec252e0cab75db817286 (patch)
treeffabc6940dd896cec8e80a741ba1a1123d2ecac0 /include
parent4a0c6e03e173f140192d0cde3355e1f68ec51883 (diff)
downloadsirit-ae7c664016471c08ba8fec252e0cab75db817286.tar.gz
sirit-ae7c664016471c08ba8fec252e0cab75db817286.zip
Add OpAny and OpAll
Diffstat (limited to 'include')
-rw-r--r--include/sirit/sirit.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/include/sirit/sirit.h b/include/sirit/sirit.h
index 0c86601..1a0def9 100644
--- a/include/sirit/sirit.h
+++ b/include/sirit/sirit.h
@@ -346,6 +346,12 @@ public:
// Logical
+ /// Result is true if any component of Vector is true, otherwise result is false.
+ Id OpAny(Id result_type, Id vector);
+
+ /// Result is true if all components of Vector are true, otherwise result is false.
+ Id OpAll(Id result_type, Id vector);
+
/// Result is true if x is an IEEE NaN, otherwise result is false.
Id OpIsNan(Id result_type, Id operand);