/** @file\r
- Provides alternative "spellings" for several C operators.\r
+ Provides alternative "spellings" for several C operators.\r
\r
- The header <iso646.h> defines the following eleven macros (on the left) that expand\r
- to the corresponding tokens (on the right).\r
+ The header <iso646.h> defines the following eleven macros (on the left) that expand\r
+ to the corresponding tokens (on the right).\r
\r
-Copyright (c) 2010, Intel Corporation. All rights reserved.<BR>\r
-This program and the accompanying materials are licensed and made available under\r
-the terms and conditions of the BSD License that accompanies this distribution.\r
-The full text of the license may be found at\r
-http://opensource.org/licenses/bsd-license.php.\r
+ Copyright (c) 2010 - 2011, Intel Corporation. All rights reserved.<BR>\r
+ This program and the accompanying materials are licensed and made available under\r
+ the terms and conditions of the BSD License that accompanies this distribution.\r
+ The full text of the license may be found at\r
+ http://opensource.org/licenses/bsd-license.\r
\r
-THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,\r
-WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.\r
+ THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,\r
+ WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.\r
**/\r
#ifndef _ISO646_H\r
#define _ISO646_H\r
#include <sys/EfiCdefs.h>\r
\r
-#define and &&\r
-#define and_eq &=\r
-#define bitand &\r
-#define bitor |\r
-#define compl ~\r
-#define not !\r
-#define not_eq !=\r
-#define or ||\r
-#define or_eq |=\r
-#define xor ^\r
-#define xor_eq ^=\r
+#define and && ///< Logical AND of two boolean expressions\r
+#define and_eq &= ///< Bitwise AND with assignment to lval\r
+#define bitand & ///< Bitwise AND of two scalar expressions\r
+#define bitor | ///< Bitwise OR of two scalar expressions\r
+#define compl ~ ///< Binary complement\r
+#define not ! ///< Logical complement of a boolean expression\r
+#define not_eq != ///< Not-equal comparison\r
+#define or || ///< Logical OR of two boolean expressions\r
+#define or_eq |= ///< Bitwise OR with assignment to lval\r
+#define xor ^ ///< Exclusive OR\r
+#define xor_eq ^= ///< Exclusive OR with assignment to lval\r
\r
#endif /* _ISO646_H */\r