diff options
author | ReinUsesLisp <[email protected]> | 2019-09-09 16:46:36 -0300 |
---|---|---|
committer | ReinUsesLisp <[email protected]> | 2019-09-09 16:46:36 -0300 |
commit | ae7c664016471c08ba8fec252e0cab75db817286 (patch) | |
tree | ffabc6940dd896cec8e80a741ba1a1123d2ecac0 /include | |
parent | 4a0c6e03e173f140192d0cde3355e1f68ec51883 (diff) | |
download | sirit-ae7c664016471c08ba8fec252e0cab75db817286.tar.gz sirit-ae7c664016471c08ba8fec252e0cab75db817286.zip |
Add OpAny and OpAll
Diffstat (limited to 'include')
-rw-r--r-- | include/sirit/sirit.h | 6 |
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); |