* (c) 1999 Straylight/Edgeware
*/
-/*----- Licensing notice --------------------------------------------------*
+/*----- Licensing notice --------------------------------------------------*
*
* This file is part of Catacomb.
*
* it under the terms of the GNU Library General Public License as
* published by the Free Software Foundation; either version 2 of the
* License, or (at your option) any later version.
- *
+ *
* Catacomb is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU Library General Public License for more details.
- *
+ *
* You should have received a copy of the GNU Library General Public
* License along with Catacomb; if not, write to the Free
* Software Foundation, Inc., 59 Temple Place - Suite 330, Boston,
extern mp mp_const[];
#define MP_ZERO (&mp_const[0])
-#define MP_ONE (&mp_const[1])
-#define MP_TWO (&mp_const[2])
+#define MP_ONE (&mp_const[1])
+#define MP_TWO (&mp_const[2])
#define MP_THREE (&mp_const[3])
-#define MP_FOUR (&mp_const[4])
-#define MP_FIVE (&mp_const[5])
-#define MP_TEN (&mp_const[6])
+#define MP_FOUR (&mp_const[4])
+#define MP_FIVE (&mp_const[5])
+#define MP_TEN (&mp_const[6])
#define MP_256 (&mp_const[7])
-#define MP_MONE (&mp_const[8])
+#define MP_MONE (&mp_const[8])
#define MP_NEW ((mp *)0)
#define MP_NEWSEC (&mp_const[9])
if (_mm->ref == 0 && !(_mm->f & MP_CONST)) \
mp_destroy(_mm); \
} while (0)
-
+
/* --- @mp_split@ --- *
*
* Arguments: @mp *m@ = pointer to a multiprecision integer
* @mp *a@ = source
*
* Returns: The bitwise complement of the source.
- */
+ */
extern mp *mp_not(mp */*d*/, mp */*a*/);
* Synonyms for the commonly-used functions.
*/
-#define mp_and mp_bit0001
-#define mp_or mp_bit0111
+#define mp_and mp_bit0001
+#define mp_or mp_bit0111
#define mp_nand mp_bit1110
-#define mp_nor mp_bit1000
-#define mp_xor mp_bit0110
+#define mp_nor mp_bit1000
+#define mp_xor mp_bit0110
/* --- @mp_testbit@ --- *
*
*/
#define mp_and2c mp_bit00012c
-#define mp_or2c mp_bit01112c
+#define mp_or2c mp_bit01112c
#define mp_nand2c mp_bit11102c
#define mp_nor2c mp_bit10002c
#define mp_xor2c mp_bit01102c