summaryrefslogtreecommitdiff
path: root/src/iso646
diff options
context:
space:
mode:
Diffstat (limited to 'src/iso646')
-rw-r--r--src/iso646/and.c6
-rw-r--r--src/iso646/and_eq.c6
-rw-r--r--src/iso646/bitand.c6
-rw-r--r--src/iso646/bitor.c6
-rw-r--r--src/iso646/compl.c16
-rw-r--r--src/iso646/not.c6
-rw-r--r--src/iso646/not_eq.c6
-rw-r--r--src/iso646/or.c6
-rw-r--r--src/iso646/or_eq.c6
-rw-r--r--src/iso646/xor.c6
-rw-r--r--src/iso646/xor_eq.c6
11 files changed, 76 insertions, 0 deletions
diff --git a/src/iso646/and.c b/src/iso646/and.c
new file mode 100644
index 00000000..132a2bc5
--- /dev/null
+++ b/src/iso646/and.c
@@ -0,0 +1,6 @@
+#include <iso646.h>
+#define and &&
+
+/*
+STDC(199409)
+*/
diff --git a/src/iso646/and_eq.c b/src/iso646/and_eq.c
new file mode 100644
index 00000000..59c40bfd
--- /dev/null
+++ b/src/iso646/and_eq.c
@@ -0,0 +1,6 @@
+#include <iso646.h>
+#define and_eq &=
+
+/*
+STDC(199409)
+*/
diff --git a/src/iso646/bitand.c b/src/iso646/bitand.c
new file mode 100644
index 00000000..76fa23aa
--- /dev/null
+++ b/src/iso646/bitand.c
@@ -0,0 +1,6 @@
+#include <iso646.h>
+#define bitand &
+
+/*
+STDC(199409)
+*/
diff --git a/src/iso646/bitor.c b/src/iso646/bitor.c
new file mode 100644
index 00000000..c915db36
--- /dev/null
+++ b/src/iso646/bitor.c
@@ -0,0 +1,6 @@
+#include <iso646.h>
+#define bitor |
+
+/*
+STDC(199409)
+*/
diff --git a/src/iso646/compl.c b/src/iso646/compl.c
new file mode 100644
index 00000000..a94d5780
--- /dev/null
+++ b/src/iso646/compl.c
@@ -0,0 +1,16 @@
+#include <iso646.h>
+#define compl ~
+
+/** alternate spelling of ~ **/
+
+/***
+is an alternate spelling of the bitwise complement operator (OPERATOR(~)).
+***/
+
+/*
+VALUE_FIXED(~)
+*/
+
+/*
+STDC(199409)
+*/
diff --git a/src/iso646/not.c b/src/iso646/not.c
new file mode 100644
index 00000000..f0baeb04
--- /dev/null
+++ b/src/iso646/not.c
@@ -0,0 +1,6 @@
+#include <iso646.h>
+#define not !
+
+/*
+STDC(199409)
+*/
diff --git a/src/iso646/not_eq.c b/src/iso646/not_eq.c
new file mode 100644
index 00000000..3576acc6
--- /dev/null
+++ b/src/iso646/not_eq.c
@@ -0,0 +1,6 @@
+#include <iso646.h>
+#define not_eq !=
+
+/*
+STDC(199409)
+*/
diff --git a/src/iso646/or.c b/src/iso646/or.c
new file mode 100644
index 00000000..4e05b37f
--- /dev/null
+++ b/src/iso646/or.c
@@ -0,0 +1,6 @@
+#include <iso646.h>
+#define or ||
+
+/*
+STDC(199409)
+*/
diff --git a/src/iso646/or_eq.c b/src/iso646/or_eq.c
new file mode 100644
index 00000000..28a5a672
--- /dev/null
+++ b/src/iso646/or_eq.c
@@ -0,0 +1,6 @@
+#include <iso646.h>
+#define or_eq |=
+
+/*
+STDC(199409)
+*/
diff --git a/src/iso646/xor.c b/src/iso646/xor.c
new file mode 100644
index 00000000..6aa1a1be
--- /dev/null
+++ b/src/iso646/xor.c
@@ -0,0 +1,6 @@
+#include <iso646.h>
+#define xor ^
+
+/*
+STDC(199409)
+*/
diff --git a/src/iso646/xor_eq.c b/src/iso646/xor_eq.c
new file mode 100644
index 00000000..4c6dd410
--- /dev/null
+++ b/src/iso646/xor_eq.c
@@ -0,0 +1,6 @@
+#include <iso646.h>
+#define xor_eq ^=
+
+/*
+STDC(199409)
+*/